Additional cross-references to window functions documentation.
Erik Rijkers
This commit is contained in:
parent
97301ab189
commit
276a8f4e99
@ -1,4 +1,4 @@
|
|||||||
<!-- $PostgreSQL: pgsql/doc/src/sgml/advanced.sgml,v 1.60 2010/04/03 07:22:52 petere Exp $ -->
|
<!-- $PostgreSQL: pgsql/doc/src/sgml/advanced.sgml,v 1.61 2010/07/03 02:57:46 rhaas Exp $ -->
|
||||||
|
|
||||||
<chapter id="tutorial-advanced">
|
<chapter id="tutorial-advanced">
|
||||||
<title>Advanced Features</title>
|
<title>Advanced Features</title>
|
||||||
@ -554,6 +554,7 @@ SELECT sum(salary) OVER w, avg(salary) OVER w
|
|||||||
<para>
|
<para>
|
||||||
More details about window functions can be found in
|
More details about window functions can be found in
|
||||||
<xref linkend="syntax-window-functions">,
|
<xref linkend="syntax-window-functions">,
|
||||||
|
<xref linkend="functions-window">,
|
||||||
<xref linkend="queries-window">, and the
|
<xref linkend="queries-window">, and the
|
||||||
<xref linkend="sql-select"> reference page.
|
<xref linkend="sql-select"> reference page.
|
||||||
</para>
|
</para>
|
||||||
|
@ -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">
|
<chapter id="queries">
|
||||||
<title>Queries</title>
|
<title>Queries</title>
|
||||||
@ -979,7 +979,8 @@ SELECT product_id, p.name, (sum(s.units) * (p.price - p.cost)) AS profit
|
|||||||
|
|
||||||
<para>
|
<para>
|
||||||
If the query contains any window functions (see
|
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
|
<xref linkend="syntax-window-functions">), these functions are evaluated
|
||||||
after any grouping, aggregation, and <literal>HAVING</> filtering is
|
after any grouping, aggregation, and <literal>HAVING</> filtering is
|
||||||
performed. That is, if the query uses any aggregates, <literal>GROUP
|
performed. That is, if the query uses any aggregates, <literal>GROUP
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<!-- $PostgreSQL: pgsql/doc/src/sgml/syntax.sgml,v 1.146 2010/06/09 16:43:47 alvherre Exp $ -->
|
<!-- $PostgreSQL: pgsql/doc/src/sgml/syntax.sgml,v 1.147 2010/07/03 02:57:46 rhaas Exp $ -->
|
||||||
|
|
||||||
<chapter id="sql-syntax">
|
<chapter id="sql-syntax">
|
||||||
<title>SQL Syntax</title>
|
<title>SQL Syntax</title>
|
||||||
@ -1761,7 +1761,8 @@ UNBOUNDED FOLLOWING
|
|||||||
|
|
||||||
<para>
|
<para>
|
||||||
More information about window functions can be found in
|
More information about window functions can be found in
|
||||||
<xref linkend="tutorial-window"> and
|
<xref linkend="tutorial-window">,
|
||||||
|
<xref linkend="functions-window">,
|
||||||
<xref linkend="queries-window">.
|
<xref linkend="queries-window">.
|
||||||
</para>
|
</para>
|
||||||
</sect2>
|
</sect2>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user