Skip to content

Commit

Permalink
[hotfix][docs] Add that LIMIT requires ORDER BY.
Browse files Browse the repository at this point in the history
This closes apache#7737
  • Loading branch information
fhueske authored and sunjincheng121 committed Feb 28, 2019
1 parent cb3ffca commit be9f030
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/dev/table/sql.md
Original file line number Diff line number Diff line change
Expand Up @@ -722,9 +722,11 @@ ORDER BY orderTime
<span class="label label-primary">Batch</span>
</td>
<td>
<b>Note:</b> The LIMIT clause requires an ORDER BY clause.
{% highlight sql %}
SELECT *
FROM Orders
ORDER BY orderTime
LIMIT 3
{% endhighlight %}
</td>
Expand Down

0 comments on commit be9f030

Please sign in to comment.