0% found this document useful (0 votes)
11 views1 page

Set Operators Tapşırıq

Uploaded by

Saida Rasul
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views1 page

Set Operators Tapşırıq

Uploaded by

Saida Rasul
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

1.List all unique job IDs from the Employees and Job_History tables.

2.Combine all Employee_IDs from Employees and Job_History, including duplicates.

3.Find job IDs in the Employees table that do not exist in the Job_History table.

4.Find job IDs that are common between Employees and Job_History.

5.List all unique department IDs where employees currently work or have worked in
the past.

6.Find employees who are currently in the Employees table but have never been
listed in Job_History.

7.Find employees who have worked in the same department in both their current job
and job history.

8.Combine all manager IDs from Departments and Employees, including duplicates.

9.Find employees earning more than the average salary in their department.

10. Find employees who work in the same department as 'Steven King'.

11.Find employees who have the same job as the employee with the lowest salary.

You might also like