PostgreSQL - Window Functions in PostgreSQL
Consider the query:
What does the
SELECT department, employee, salary, SUM(salary) OVER (PARTITION BY department) AS dept_total FROM employees;
What does the
dept_total column show?