I´m having a bad time with a SQL query. I´m using oracle default tables:
\'EMP\' TABLE
http://imageshack.us/photo/my-images/850/sinttuloxps.png/
AND
As short as the question: SELECT DeptID, MAX(Salary) FROM Employees GROUP BY DeptID
SELECT DeptID, MAX(Salary) FROM Employees GROUP BY DeptID