Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: fix misplaced semicolon in WINDOW clause example (thanks go to Sambodhi Bhattacharyya for pointing this out)

...

Code Block
sql
sql
SELECT a, SUM(b) OVER w
FROM T;
WINDOW w AS (PARTITION BY c ORDER BY d ROWS UNBOUNDED PRECEDING);

LEAD using default 1 row lead and not specifying default value

...