Top
Overview
The top keywork limits the number of results that are returned by a query.
Notes on ordering
- Due to threading, the TOP limiter will not necessarily return the first documents in a namespace.
- When using the TOP limiter with ORDER BY, the full result set will be ordered before the limiter is applied.
Example
SELECT TOP 10 * FROM WordList:Word
Example
SELECT TOP 10 * FROM WordList:Word ORDER BY Text
Related
- Order By - Order by allows you to sort a result-set by a given set of fields.
- Keywords - A breakdown of all high-level statements available via the query handler.