PostgreSQL - Window Functions in PostgreSQL
What is wrong with this query?
SELECT player, score, AVG(score) OVER (ORDER BY score RANGE BETWEEN 2 PRECEDING AND CURRENT ROW) FROM players;
