Skip to content

Commit

Permalink
DOCS: put LIMIT 10 to the SQL query (#32065)
Browse files Browse the repository at this point in the history
Provides a more precise equivalent SQL query for the aggregation example in the getting started guide.
  • Loading branch information
ahmedakef authored and imotov committed Jul 16, 2018
1 parent 9036c61 commit d0a0e19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/reference/getting-started.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -1121,7 +1121,7 @@ In SQL, the above aggregation is similar in concept to:

[source,sh]
--------------------------------------------------
SELECT state, COUNT(*) FROM bank GROUP BY state ORDER BY COUNT(*) DESC
SELECT state, COUNT(*) FROM bank GROUP BY state ORDER BY COUNT(*) DESC LIMIT 10;
--------------------------------------------------

And the response (partially shown):
Expand Down

0 comments on commit d0a0e19

Please sign in to comment.