PostgreSQL - Aggregate Functions and GROUP BY
Identify the error in this query:
SELECT department, AVG(salary) FROM employees GROUP BY role;
SELECT department, AVG(salary) FROM employees GROUP BY role;
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions