Skip to main content
NQL supports three main statement types for querying, forecasting, and creating stored datasets.
StatementPurposeReference
SELECTExecute a query and return resultsSELECT
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