This lesson shows how SUM, AVG, and COUNT work as window functions in PostgreSQL. Window functions calculate values across a set of rows related to the current row, defined by PARTITION BY. Unlike aggregate functions, they do not reduce the number of rows but add new columns with the computed results. For example, SUM(salary) OVER (PARTITION BY dept) calculates the total salary per department and shows it on every row in that department. AVG and COUNT work similarly, computing average salary and number of employees per department. The execution table traces each row's values step-by-step, showing how the window functions produce repeated results per partition. Key moments clarify why values repeat and how averages are computed without grouping. The quiz tests understanding of these repeated values and how changes affect averages. This helps beginners see how window functions add powerful analytics without losing row detail.