DB
SQL reference

SQL reference

Executable SQL surface for the current single-node NYXDB engine.

This reference documents statements accepted by the current parser and engine. It deliberately separates implemented SQL from experimental and unsupported surfaces. Accepted architecture decisions and future grammar are not presented as runtime features.

The authoritative release inventory is the engine capability matrix. Use SHOW FUNCTIONS and SHOW TABLES to inspect a running revision.

Statement map

AreaCurrent surface
SchemaCREATE TABLE, inline indexes, views, materialized views, streams, transforms, and storage topology
DataINSERT, UPDATE and DELETE for keyed state, plus block ingest
QueriesCTEs, subqueries, joins, aggregation, set operations, ordering, limits, temporal and streaming prefixes
Application accessExperimental auth providers, typed read-only endpoints, application grants, and query-driven rate limits
InspectionSHOW, DESCRIBE, EXPLAIN, system tables, and CANCEL QUERY
LifecycleALTER for supported objects and DROP with dependency checks

Conventions

  • Keywords are shown in uppercase for readability; parsing is case-insensitive.
  • Examples name storage_policy explicitly because it is required when a table is created.
  • Features whose compatibility contract may change are labeled Experimental.
  • A statement documented as unsupported is rejected explicitly; do not depend on parser acceptance in a future build without checking that release.

The server accepts one statement per request. A trailing semicolon is allowed. Multi-statement transactions and MVCC are not available.

On this page