Queries#
A query retrieves data from a Querona virtual database with the SELECT statement and its
clauses. This section describes the clauses and options Querona supports.
SELECT — the
SELECTstatement, its projection list and theGROUP BY,HAVING,ORDER BY,OVERandFORclauses.FROM — the table sources a query reads from, including joins.
WHERE — filters rows with Predicates.
TOP — limits the number of rows returned.
Hints and OPTION clause — query hints and the
OPTIONclause.
Beyond tables and views, the FROM clause can read external data directly through rowset functions
such as OPENQUERY,
OPENROWSET and OPENJSON.