SQL (Aum)
SQL (Aum)
1. Write a query to display the names (first_name, last_name) using alias name “First Name",
"Last Name"
3. Write a query to get all employee details from the employee table order by first name,
descending
4. Write a query to get the names (first_name, last_name), salary, PF of all the employees (PF is
calculated as 15% of salary)
5. Write a query to get the employee ID, names (first_name, last_name), salary in ascending
order of salary
7. Write a query to get the maximum and minimum salary from employees table.
8. Write a query to get the average salary and number of employees in the employees table.
9. Write a query to get the number of employees working with the company.
10. Write a query to get the number of jobs available in the employees table.
11. Write a query to get the name of employees whose name starts from D.
12. Write a query to get the name and manager id of employee whose job Id is AD_VP or
FI_ACCOUNT.