Assignment Subquery

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

1. Display details of departments managed by ‘Smith’.

2. Display jobs into which employees joined in the current year. Use table jobs and
employees with this condition
TO_CHAR(HIRE_DATE,'YYYY')=TO_CHAR(SYSDATE,'YYYY')
3. Display employees who did not do any job in the past.(job_history,employees)
job_history table contains data for past employees
4. Display department_id and average salary for employees who earns more than
10000
5. Display job title and average salary for employees who did a job in the past.
6. Display the department details in which employee last name is Abel
7. Display details of current job for employees who worked as IT Programmers
(Jobs,employees)
8. Display details of current job for employees who worked as IT Programmers in
the past.
9. Display the city of employee whose employee ID is 105.
(locations,departments,employees)
10. Display third highest salary of all employees

11.

You might also like