SQL++ - Basics

SQL++ or N1QL (pronounced “nickel”) is Couchbase’s next-generation query language. N1QL aims to meet the query needs of distributed document-oriented databases. This document specifies the syntax and semantics of the SELECT statement in N1QL.

The N1QL data model derives its name from the non-first normal form, which is a superset and generalization of the relational first normal form (1NF).

See more at the N1QL documentation on N1QL.

To run this example, click the button in the top right corner of the code editor.

Code Editor

Output