给出一个员工工资表,列 EmployeeID, Salary, 和 DepartmentID,写一个SQL查询,以找到每个部门的最高工资.
You can use the GROUP BY clause along with the MAX() function to achieve this. The query would look like this:

SELECT DepartmentID, MAX(Salary) AS MaxSalary
FROM employee_salaries
GROUP BY DepartmentID; 

This would group the salaries by department and then find the maximum salary for each department. The result would show the DepartmentID and the corresponding maximum salary value for that department.