Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 5043fc8

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

File tree

1 file changed

+3
-1
lines changed
Filter options

1 file changed

+3
-1
lines changed

‎doc/src/sgml/advanced.sgml

Copy file name to clipboardExpand all lines: doc/src/sgml/advanced.sgml
+3-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.