Query ready
SELECT name, department_id, salaryFROM users uWHERE salary > (SELECT AVG(salary) FROM users x WHERE x.department_id = u.department_id);
Click any line to inspect its stage
Execution Board
01 · FROM
Scanning every tuple of the relation from working storage before filtering or projection.