Skip to content

Commit

Permalink
Traduction du paragraphe sur PARTITION BY
Browse files Browse the repository at this point in the history
  • Loading branch information
kryskool committed Jun 13, 2013
1 parent 5a3dc58 commit 918cc72
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions postgresql/syntax.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1736,18 +1736,18 @@ UNBOUNDED FOLLOWING
</para>

<para>
The <literal>PARTITION BY</literal> option groups the rows of the query into
<firstterm>partitions</firstterm>, which are processed separately by the window
function. <literal>PARTITION BY</literal> works similarly to a query-level
<literal>GROUP BY</literal> clause, except that its expressions are always just
expressions and cannot be output-column names or numbers.
Without <literal>PARTITION BY</literal>, all rows produced by the query are
treated as a single partition.
The <literal>ORDER BY</literal> option determines the order in which the rows
of a partition are processed by the window function. It works similarly
to a query-level <literal>ORDER BY</literal> clause, but likewise cannot use
output-column names or numbers. Without <literal>ORDER BY</literal>, rows are
processed in an unspecified order.
l'option <literal>PARTITION BY</literal> groupe les lignes de la requête dans des
<firstterm>partitions</firstterm>, qui seront traités séparément par la fonction
window. <literal>PARTITION BY</literal> fonctionne de façon similaire à la clause
<literal>GROUP BY</literal> d'une requête, excepter que cette expression sera toujours juste
une expressions et ne pourra pas être un nom de colonne de sortie ou un numéro.
Sans <literal>PARTITION BY</literal>, toutes les lignes produites par la requête sont traités
dans une seule partition.
L'option <literal>ORDER BY</literal> détermine l'ordre dans lequel les lignes
de la partition seront traités par la fonction window. Celà fonction de façon similaire
à la clause <literal>ORDER BY</literal>, mais nous ne pouvons pas utiliser le nom de la
colonne en sortie ou un numéro. Sans <literal>ORDER BY</literal>, les lignes sont
traités sans ordre spécifique.
</para>

<para>
Expand Down

0 comments on commit 918cc72

Please sign in to comment.