Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1 . Retrieve the names of employees who do not have supervisors 2 . Retrieve the names of employees who have supervisors 3 . Retrieve
Retrieve the names of employees who do not have supervisors
Retrieve the names of employees who have supervisors
Retrieve the social security numbers of all employees who work on project number or Use two different operators:
OR Operator
IN Operator
List the first name and last name of employees who do not work on any project
Retrieve the name and address of employees who work for the 'Research' department. Use three different approaches.
a Non nested approach,
a Nested approach
a Join approach
List the names of projects that involve an employee whose last name is 'Smith' as a worker or as a manager of the department that controls the project.
Use nested and
no nested approach
List the names of employees whose salary is greater than the salary of all managers
Retrieve the name of each employee who has a dependent with the same first name as the employee.
Retrieve the name of each employee who has a dependent with the same name as the employees first name.
Retrieve the names of employees who have no dependents
Retrieve the name of all employees and their supervisors
Find the sum of the salaries, maximum salary, minimum salary, and average salary of employees in the Research department
Count the number of employees who work for the 'Research' department
Count the number of employees in Department number who have worked on at least one project
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, project name, and the number of employees who work on that project
For each project, retrieve the project number, project name, and number of employees from department who work on the project
For each project that has more than one employee work, retrieve the project number, project name, and the number of employees who work on that project.
For each department that has more than employee, retrieve the department name and the number of employees who are making more than $
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