blob: 959fe185910c4a88fe34e9d963e4c36444527662 [file] [log] [blame]
select employee.management_role as c0, employee.position_title as c1, time_by_day.the_year as c2, sum(salary.salary_paid) as m0 from employee as employee, salary as salary, time_by_day as time_by_day where salary.employee_id = employee.employee_id and salary.pay_date = time_by_day.the_date and time_by_day.the_year = 1997 group by employee.management_role, employee.position_title, time_by_day.the_year;