PostgreSQL - Window Functions in PostgreSQL
Find the error in this query:
SELECT employee, salary, RANK() OVER ORDER BY salary PARTITION BY department FROM employees;
