This feature is in Public Preview.
This is a SQL command reference for Databricks SQL.
This general reference describes data types, functions, identifiers, literals, and semantics:
- How to read a syntax diagram
- Configuration parameters
- Data types and literals
- SQL data type rules
- Datetime patterns
- Built-in functions
- Lambda functions
- Window functions
- Null semantics
- JSON path expressions
- Privileges and securable objects
- Reserved words
You use data definition statements to create or modify the structure of database objects in a database:
You use data manipulation statements to add, change, or delete data from a Delta Lake table:
You use a query to retrieve rows from one or more tables according to the specified clauses. The full syntax
and brief description of supported clauses are explained in the Query article.
The related SQL statements
VALUES are also included in this section.
Databricks SQL also provides the ability to generate the logical and physical plan for a query using the
You use Delta Lake SQL statements to manage tables stored in Delta Lake format:
For details on using Delta Lake statements, see Delta Lake guide.
You use auxiliary statements to collect statistics, manage caching, explore metadata, set configurations, and manage resources: