浏览代码

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.
ahmedakef 7 年之前
父节点
当前提交
5b65e2ccbf
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docs/reference/getting-started.asciidoc

+ 1 - 1
docs/reference/getting-started.asciidoc

@@ -1122,7 +1122,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):