Data query syntax

SQL statements

Tengri supports data queries using the standard keywords SQL and the following basic syntax:

[ WITH ... ]
SELECT
   ...
[ FROM ...
   [ JOIN ... ]
[ WHERE ... ]
[ GROUP BY ...
   [ HAVING ... ] ]
[ QUALIFY ... ]
[ ORDER BY ... ]
[ LIMIT ... ]

Detailed descriptions for the supported keywords are provided in the sections: