31. SQL
DESC
Select MAX(salary),MIN(salary),AVG(salary) from employees;
Find the Highest, Lowest, and average salaryin all employees
Select job_id MAX(salary), MIN(salary),AVG(salary) from employees GROUP BY job_id;
Find the Highest, Lowest, and average salaryfor each job type
Select job_id,count(job_id) from employees GROUP BY job_id;
Display the number of people with the same job
Select job_id,count(job_id) from employees Where job_id=‘IT_PROG’ GROUP BY job_id;
Display the number of people with the prompted user for job title