The Employee table holds all employees. Every employee has an Id, a salary, and there is also a column for the department Id.
    Screen Shot 2020-11-05 at 6.06.24 PM.png

    The Department table holds all departments of the company.
    Screen Shot 2020-11-05 at 6.06.33 PM.png
    Write a SQL query to find employees who have the highest salary in each of the departments. For the above tables, your SQL query should return the following rows (order of rows does not matter).
    Screen Shot 2020-11-05 at 6.06.48 PM.png
    Answer:
    Screen Shot 2020-11-05 at 6.06.05 PM.png