Skip to content

Commit ff61fa8

Browse files
committed
Code review
1 parent a9dfbb4 commit ff61fa8

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

docs/sql-ref-syntax-qry-select-orderby.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ license: |
2020
---
2121
The <code>ORDER BY</code> clause is used to return the result rows in a sorted manner
2222
in the user specified order. Unlike the <code>SORT BY</code> clause, this clause guarantees
23-
total order in the output.
23+
a total order in the output.
2424

2525
### Syntax
2626
{% highlight sql %}
@@ -68,11 +68,12 @@ ORDER BY { expression [ sort_direction | nulls_sort_oder ] [ , ...] }
6868
### Examples
6969
{% highlight sql %}
7070
CREATE TABLE person (id INT, name STRING, age INT);
71-
INSERT INTO person VALUES (100, 'John', 30),
72-
(200, 'Mary', NULL),
73-
(300, 'Mike', 80),
74-
(400, 'Jerry', NULL),
75-
(500, 'Dan', 50);
71+
INSERT INTO person VALUES
72+
(100, 'John', 30),
73+
(200, 'Mary', NULL),
74+
(300, 'Mike', 80),
75+
(400, 'Jerry', NULL),
76+
(500, 'Dan', 50);
7677

7778
-- Sort rows by age. By default rows are sorted in ascending manner.
7879
SELECT name, age FROM person ORDER BY age;

0 commit comments

Comments
 (0)