You are on page 1of 1

ASSIGNMENT

You are required to write queries for each of the questions. There are 10 questions in
total. All questions are from the schema which has already been discussed in class.

NOTE: you are required to submit the written queries on LMS.

1) display manager_ID and number of employees by the manager.

2) Display the average salary of employees in each department who have commission
percentage.

3)display no of orders for the product with product id 1737

4)Display employee name, job title, start date, and end date of past jobs of all
employees with commission percentage null.

5)Display details of jobs that were done by any employee who is currently drawing more
than 15000 of salary.

6)display number of employees by city.

7) Display the month in which more than 4 employees joined in any department located
in New York.

8) Display departments where any manager is managing more than 4 employees.

9) Display job ID for jobs with average salary more than 10000.

10) Display average salary of employees in each department who have commission
percentage.

You might also like