Table: Employees Employee First Name Last_Name Dept Hire_Date Phone Manager-id $
ID: 3874016 • Letter: T
Question
Table: Employees Employee First Name Last_Name Dept Hire_Date Phone Manager-id $30.00 $25.00 3484 (null) 8722 7591 6830 5286 202 null (ul) 2259 1752 203 3357 2974 203 01-Jun-1998 16-Aug-1999 02-Feb-2004 01-Jul-2003 01-Mar-2000 Susan Kern Woods Martha $25.00 $25.00 S25.00 Perkins Campbel1 Jacobs Hoffman 01-Dec-2004 01-Apr-2003 17-Mar-1999 16-Feb-2004 5 2 Paula Nancy #1. List the following columns of the Employees table in this order: 2 first name, last name, hire date, phone_ext and department code hange the name of the hire_date column to Date_of_Joining within the result table. List the employees from the Sales and Marketing department only. 0 Sort the rows of the result table by the lastname column in descending order.Explanation / Answer
Question 1
select First_Name,Last_Name,Hire_Date As Date_of_Joining,PhoneExt,DeptCode from Employees where DeptCode='SAl' OR DeptCode='Mkt' order by Last_Name desc;
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.