mirror of
https://github.com/postgres/postgres.git
synced 2025-08-31 17:02:12 +03:00
Additional cross-references to window functions documentation.
Erik Rijkers
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<!-- $PostgreSQL: pgsql/doc/src/sgml/queries.sgml,v 1.57 2010/04/03 07:22:55 petere Exp $ -->
|
||||
<!-- $PostgreSQL: pgsql/doc/src/sgml/queries.sgml,v 1.58 2010/07/03 02:57:46 rhaas Exp $ -->
|
||||
|
||||
<chapter id="queries">
|
||||
<title>Queries</title>
|
||||
@@ -979,7 +979,8 @@ SELECT product_id, p.name, (sum(s.units) * (p.price - p.cost)) AS profit
|
||||
|
||||
<para>
|
||||
If the query contains any window functions (see
|
||||
<xref linkend="tutorial-window"> and
|
||||
<xref linkend="tutorial-window">,
|
||||
<xref linkend="functions-window"> and
|
||||
<xref linkend="syntax-window-functions">), these functions are evaluated
|
||||
after any grouping, aggregation, and <literal>HAVING</> filtering is
|
||||
performed. That is, if the query uses any aggregates, <literal>GROUP
|
||||
|
Reference in New Issue
Block a user