Write a query to get the maximum salary employee. Write a query to get the average salary
Fantastic news! We've Found the answer you've been seeking!
Question:
- Write a query to get the maximum salary employee.
- Write a query to get the average salary of “Clerk”
- Write a query to get the average salary of department number 30
- Write a query to get the minimum salary of department number 30, the salary should add commission
- Count the number of employees in the “Sales” department. Use sub queries.
- Write a query to get the average salaries of all departments. Show the department number along with the average salary.
- Write a query to display all the employees that have the same JOB as SMITH and have salaries greater than 1000. (use subquery)
Related Book For
Managerial Accounting
ISBN: 978-1259307416
16th edition
Authors: Ray Garrison, Eric Noreen, Peter Brewer
Posted Date: