Direction: Choose the correct option
Q1.
SELECT department, COUNT(*) FROM employees GROUP BY department;What does this query do?Direction: Choose the correct option
Q2.
SELECT department, AVG(salary) FROM employees GROUP BY department;What information is returned?Direction: Choose the correct option
Q3.
SELECT department, SUM(salary) FROM employees GROUP BY department;What does SUM(salary) represent here?Direction: Choose the correct option
Q4.
SELECT department, MAX(salary) FROM employees GROUP BY department;What does this show?Direction: Choose the correct option
Q5.
SELECT department, job_title, COUNT(*) FROM employees GROUP BY department, job_title;How many grouping levels are there?