Find employees with the maximum salary in his department. Display a table with columns DEPARTMENT - department name, EMP_NO, FIRST_NAME, LAST_NAME - employee data, SALARY - his salary. Sort the data in descending order of salary. Solve the problem using a window function.
Write your request in the field below and click the "Check it!" button.
Use Firebird syntax to write your answer. Descriptions of tables are provided at the bottom of the screen.