Aggregate Functions as Window Functions
Use aggregate functions over windows. Standard aggregates like SUM and AVG can be used with an OVER clause to calculate running totals and moving averages.
SELECT COUNT(*) OVER (ORDER BY column) FROM table;Last updated
Was this helpful?

