Skip to content

Commit 5b65e2c

Browse files
ahmedakefimotov
authored andcommitted
DOCS: put LIMIT 10 to the SQL query (#32065)
Provides a more precise equivalent SQL query for the aggregation example in the getting started guide.
1 parent 69c8533 commit 5b65e2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/reference/getting-started.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1122,7 +1122,7 @@ In SQL, the above aggregation is similar in concept to:
11221122

11231123
[source,sh]
11241124
--------------------------------------------------
1125-
SELECT state, COUNT(*) FROM bank GROUP BY state ORDER BY COUNT(*) DESC
1125+
SELECT state, COUNT(*) FROM bank GROUP BY state ORDER BY COUNT(*) DESC LIMIT 10;
11261126
--------------------------------------------------
11271127

11281128
And the response (partially shown):

0 commit comments

Comments
 (0)