Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SELECT TOP(1) AVG([Salary]) AS [MinAverageSalary]
- FROM [Employees]
- GROUP BY [DepartmentID]
- ORDER BY [MinAverageSalary]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement