Quick Reference: SQL for NoSQL Operations

SQL for Oracle NoSQL Database serves as a high-performance, declarative language designed to bridge the gap between traditional relational patterns and modern, high-volume document storage.

This high-performance language seamlessly integrates structured tables with flexible JSON data, allowing developers to utilize familiar SQL syntax.

The following table provides a quick reference to the core SQL operations available in Oracle NoSQL Database. Use the links below to access basic operation descriptions, terminal-ready examples, and SDK API references tailored for production use cases.

Table 1 - SQL Quick Reference Table

Category Operation Basic Details Syntax, Semantics, and Examples SDK APIs/More Usecases
Namespace Management Working with Namespaces Namespace Management
Region Management Working with Multi-Region Setup Region Management
Table Management Create Basic SQL Statements Create table
Alter Alter Table
Drop Drop Table Drop Table
Table Row Management Insert Adding Table Rows using INSERT and UPSERT Statements Insert data
Upsert Adding Table Rows using INSERT and UPSERT Statements Upsert statement Upsert data
Update Modifying Table Rows using Update Statements
Delete Basic SQL Statements Delete Statement Delete Data
Indexes Working With Indexes Indexes
Query Management Selecting
Filtering Where Clause Using Query API to fetch data
Grouping Grouping Results Group by Clause
Ordering Ordering Results Order by Clause
Limiting and Offsetting Results Limiting and Offsetting Results
Using External Variables Using External Variables Variable Declarations Using Internal variables and aliases
Complex Data Arrays Working with Arrays
Records Working with Records Working with nested data type
Maps Working With Maps Working with nested data type
Expressions Working with Expressions
JSON Collection Working with JSON Collection Tables SELECT queries on JSON collection tables
GeoJSON Working With GeoJSON Data GeoJson Data Management Managing GeoJSON data
Table Hierarchies Left Outer Join Left Outer Join Using Left Outer joins with parent-child tables
NESTED TABLES NESTED TABLES Using NESTED TABLES to join parent-child tables
Inner Join Inner Join Using inner join with parent-child tables
Query Plan Query Plan Query execution plan
Query Optimization Query Optimization Tuning and Optimizing SQL queries
Built-in Functions Built-in Functions