Skip to content

Commit d0a0e19

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 9036c61 commit d0a0e19

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
@@ -1121,7 +1121,7 @@ In SQL, the above aggregation is similar in concept to:
11211121

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

11271127
And the response (partially shown):

0 commit comments

Comments
 (0)