DENSE_RANK()
function over the partition of the department, ordering by salary in descending order.erDiagram Employee ||--o{ Department : belongs Employee { int id PK varchar name int salary int departmentId FK } Department { int id PK varchar name }