Query ready
SELECT country, department_id, COUNT(*) AS people, SUM(salary) AS payrollFROM usersGROUP BY country, department_idORDER BY country, 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.