Question: - - Each question should be answered with only one SQL statement. - - Q 1 ) For each department, retrieve the department number, -
Each question should be answered with only one SQL statement.
Q For each department, retrieve the department number,
the number of employees in the department and
their average salary in the department.
then order the result by the average salary in decending order.
output only departments that have the average salary higher than
Retrieve the first name, last name, project name, and
weekly work hours per project of each employee
who works for department "Research."
Display the output in the descending order of last name and
then the ascending order by project name.
Retrieve the first name and last name of manager
who are managing departments located in "Houston"
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
