Above their department's average pay — DBMS OPPE Question
Above their department's average pay
00:00
From the instructor table, return the ID, name, dept_name, and salary of every instructor whose salary is strictly greater than the average salary of the instructors in their own department. Order the result by dept_name, then by salary (highest first).
Database schema
primary keyforeign keyarrow points to the referenced columndrag to pan