mirror of
https://github.com/postgres/postgres.git
synced 2026-04-28 01:26:56 -04:00
Emphasize where OVER needs to be when using a window function.
Jeff Turner
This commit is contained in:
parent
5925aa09a9
commit
d3b372e92d
1 changed files with 1 additions and 1 deletions
|
|
@ -371,7 +371,7 @@ SELECT depname, empno, salary, avg(salary) OVER (PARTITION BY depname) FROM emps
|
|||
|
||||
<para>
|
||||
A window function call always contains an <literal>OVER</> clause
|
||||
following the window function's name and argument(s). This is what
|
||||
directly following the window function's name and argument(s). This is what
|
||||
syntactically distinguishes it from a regular function or aggregate
|
||||
function. The <literal>OVER</> clause determines exactly how the
|
||||
rows of the query are split up for processing by the window function.
|
||||
|
|
|
|||
Loading…
Reference in a new issue