Answered step by step
Verified Expert Solution
Question
1 Approved Answer
10. An EMPLOYEES table was added to the Database to track employee information. Display a list of each employee's name, job title, and manager's name.
10. An EMPLOYEES table was added to the Database to track employee information. Display a list of each employee's name, job title, and manager's name. Use column aliases to clearly identify employee and manager name values. Include all employees in the list and sort by manager name. pictures provided of my error message, and contents of Employees table
Thank You
SELECT e. fname || ' 'IT e. lname "Employee Name", e.job, m.fname || '|| m. lname "Manager Name" FROM employees e LEFT OUTER JOIN employees m USING (jobid) ORDER BY "Manager Name"; Results Explain Describe Saved SQL History ORA-00904: "M"."JOBID": invalid identifier Tables EMPLOYEES + tr Q employ Column Name Data Type Nullable Defau EMPLOYEE_ID NUMBER(6,0) No EMPLOYEES FIRST_NAME VARCHAR2(20) Yes LAST_NAME VARCHAR2(25) No EMAIL VARCHAR2(25) No PHONE_NUMBER VARCHAR2(20) es HIRE_DATE DATE No JOB_ID VARCHAR2(10) No SALARY NUMBER(8,2) Yes COMMISSION_PCT NUMBER(2,2) Yes MANAGER_ID NUMBER(6,0) Yes DEPARTMENT_ID NUMBER(4,0) Yes BONUS VARCHAR2(5) YesStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started