Content-Length: 258412 | pFad | http://github.com/postgrespro/postgres/commit/5043fc8251fa272177c69b86a8df2cb79d926521

91 doc: split long query into multiple lines · postgrespro/postgres@5043fc8 · GitHub
Skip to content

Commit 5043fc8

Browse files
committed
doc: split long query into multiple lines
Report from Erik Rijkers
1 parent dfd5151 commit 5043fc8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

doc/src/sgml/advanced.sgml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,9 @@ SELECT depname, empno, salary, avg(salary) OVER (PARTITION BY depname) FROM emps
389389
order in which the rows are output.) Here is an example:
390390

391391
<programlisting>
392-
SELECT depname, empno, salary, rank() OVER (PARTITION BY depname ORDER BY salary DESC) FROM empsalary;
392+
SELECT depname, empno, salary,
393+
rank() OVER (PARTITION BY depname ORDER BY salary DESC)
394+
FROM empsalary;
393395
</programlisting>
394396

395397
<screen>

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/5043fc8251fa272177c69b86a8df2cb79d926521

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy