Advertisement
dragonbs

Min Average Salary

Sep 28th, 2023
1,429
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
T-SQL 0.12 KB | None | 0 0
  1. SELECT TOP(1) AVG([Salary]) AS [MinAverageSalary]
  2. FROM [Employees]
  3. GROUP BY [DepartmentID]
  4. ORDER BY [MinAverageSalary]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement