SQL++

The next-generation query language for managing JSON data

Demo

SQL++ for Analytics demo

“SQL++ can handle
additional kinds of data,
with additional expressive power”

Don Chamberlin, Co-Inventor of SQL

Querying complex JSON data made easy

JSON data access

JSON data is ubiquitous: information exchange, object representation, API responses, and microservices all use JSON. Modern NoSQL databases, like Couchbase, also support JSON as a flexible data model.

Extension of SQL standard

SQL++ allows you to shorten development cycles by using existing SQL database skills to easily query and manage JSON data. Your knowledge of SQL is transferable and easily applied to JSON querying with the familiar syntax used by SQL++.

Flexible schema support

Relational models use SQL query standards but JSON databases have more flexible schemas and require additional query syntax to access more advanced data structures. Future-proof application development by using an open standard.

SQL++ query examples

Couchbase is leading the way in the early adoption of the SQL++ specification, using it to unlock analytical JSON data interaction in Couchbase Server. By using SQL++ as a standardized base for querying, users benefit by easily transferring their skills from traditional relational databases into the NoSQL domain. Lowering the barrier to querying NoSQL databases is essential to empowering enterprises to extract value from their JSON data holdings. SQL++ for Analytics is the Couchbase query language built on SQL++.

  • SQL++ Query
  • JSON Result
  • Order Data
  • Customer Data
SELECT  c.custid,
            c.name,
            c.orderno,
            o.order_date,
            o.ship_date,FROM orders o 
    JOIN customers c ON o.custid = c.custid
    WHERE o.orderno = 1004;

Start building

Check out our developer portal to explore NoSQL, browse resources, and get started with tutorials.

Use Capella free

Get hands-on with Couchbase in just a few clicks. Capella DBaaS is the easiest and fastest way to get started.

Get in touch

Want to learn more about Couchbase offerings? Let us help.