1
0
mirror of https://github.com/postgres/postgres.git synced 2025-09-03 15:22:11 +03:00

doc: split long query into multiple lines

Report from Erik Rijkers
This commit is contained in:
Bruce Momjian
2013-12-04 10:03:13 -05:00
parent dfd5151c58
commit 5043fc8251

View File

@@ -389,7 +389,9 @@ SELECT depname, empno, salary, avg(salary) OVER (PARTITION BY depname) FROM emps
order in which the rows are output.) Here is an example: order in which the rows are output.) Here is an example:
<programlisting> <programlisting>
SELECT depname, empno, salary, rank() OVER (PARTITION BY depname ORDER BY salary DESC) FROM empsalary; SELECT depname, empno, salary,
rank() OVER (PARTITION BY depname ORDER BY salary DESC)
FROM empsalary;
</programlisting> </programlisting>
<screen> <screen>