Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1 . Retrieve the names of employees who have no dependents 2 . List the names of managers who have at least one dependent. 3
Retrieve the names of employees who have no dependents
List the names of managers who have at least one dependent.
Retrieve the Social Security numbers of all employees who work on project numbers
or
Find the sum of the salaries of all employees, the maximum salary, the minimum salary,
and the average salary.
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
Retrieve the total number of employees in the company and the number of employees in
the Research department
Count the number of distinct salary values in the database.
For each department, retrieve the department number, the number of employees in the
department, and their average salary.
For each project, retrieve the project number, the project name, and the number of
employees who work on that project.
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.
For each project, retrieve the project number, the project name, and the number of
employees from department who work on the project.
Step 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