blob: 1ccdf87630dc85afac3857ab80b7ce2e9d16d41a [file] [log] [blame]
select employee.management_role as c0, employee.position_title as c1, employee.position_title as c2, employee.position_id as c3 from employee as employee, salary as salary where salary.employee_id = employee.employee_id and (employee.management_role in ('Middle Management', 'Senior Management', 'Store Full Time Staf', 'Store Management', 'Store Temp Staff')) group by employee.management_role, employee.position_title, employee.position_id order by employee.management_role ASC NULLS LAST, employee.position_id ASC NULLS LAST;