Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1 . Find the names of all employees who are directly supervised by Franklin Wong . 2 . Retrieve the names of all employees who

1. Find the names of all employees who are directly supervised by Franklin Wong.
2. Retrieve the names of all employees who do not have supervisors.
3. Retrieve the name of each employee who has a dependent with the same first name and is
the same sex as the employee.
4. Retrieve the names of employees who have no dependents.
5. List the names of managers who have at least one dependent.
6. Retrieve the Social Security numbers of all employees who work on project numbers 1,2,
or 3.
7. Find the sum of the salaries of all employees, the maximum salary, the minimum salary,
and the average salary.
8. Find the sum of the salaries of all employees of the Research department, as well as the
maximum salary, the minimum salary, and the average salary in this department.
9. Retrieve the total number of employees in the company and the number of employees in
the Research department.
10. Count the number of distinct salary values in the database.
11. For each department, retrieve the department number, the number of employees in the
department, and their average salary.
12. For each project, retrieve the project number, the project name, and the number of
employees who work on that project.
13. For each project on which more than two employees work, retrieve the project number, the
project name, and the number of employees who work on the project.
14. For each project, retrieve the project number, the project name, and the number of
employees from department 5 who work on the project.
15. For each department that has more than five employees, retrieve the department number
and the number of its employees who are making more than $40,000
image text in transcribed

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

Introductory Relational Database Design For Business With Microsoft Access

Authors: Jonathan Eckstein, Bonnie R. Schultz

1st Edition

1119329418, 978-1119329411

More Books

Students also viewed these Databases questions