SyntaxFix
Write A Post
Hire A Developer
Questions
select department, min_salary, (select s1.last_name from staff s1 where s1.salary=s3.min_salary ) lastname from (select department, min (salary) min_salary from staff s2 group by s2.department) s3