Answered step by step
Verified Expert Solution
Link Copied!

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. image text in transcribedimage text in transcribedpictures 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) Yes

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Machine Performance Modeling Methodologies And Evaluation Strategies Lncs 257

Authors: Francesca Cesarini ,Silvio Salza

1st Edition

3540179429, 978-3540179429

More Books

Students also viewed these Databases questions

Question

3. What are potential solutions?

Answered: 1 week ago

Question

4. I can tell when team members dont mean what they say.

Answered: 1 week ago