Skip to main content
NQL supports statement types for querying, forecasting, creating stored datasets, and modifying data in existing datasets.
StatementPurposeReference
SELECTExecute a query and return resultsSELECT
INSERTAdd rows to an existing datasetINSERT
UPDATEModify existing rows in a datasetUPDATE
DELETERemove rows from a datasetDELETE
EXPLAINForecast data availability and cost without executingEXPLAIN
CREATE MATERIALIZED VIEWCreate a stored dataset from a queryCREATE MATERIALIZED VIEW

Query Templates

NQL also supports parameterized queries through query templates, which allow you to define reusable queries with placeholder variables.

Data Types

Primitive and complex types supported in NQL

Functions

Built-in and Narrative-specific functions