PostgreSQL - Window Functions in PostgreSQL
Find the mistake in this query:
SELECT employee, salary, ROW_NUMBER() OVER w FROM employees WINDOW w AS (PARTITION BY department ORDER salary DESC)
