Chapter 9 Query Language Reference : Query Syntax

Query Syntax
The top level syntax for a query is as follows:
Select Clause
From Clause
Where Clause
Group by Clause
Order By Clause
Limit
Stream Clause
Stream Policy