Turing interview question

SQL: Find each department's highest salary