Supported SQL for Aurora DSQL
Aurora DSQL supports a wide range of core PostgreSQL SQL features. In the following sections, you can learn about general PostgreSQL expression support. This list is not exhaustive.
SELECT command
Aurora DSQL supports the following clauses of the SELECT command.
| Primary clause | Supported clauses |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Transaction limits apply. For more information, see Cluster quotas and database limits in Amazon Aurora DSQL. To understand how this impacts concurrent transactions, see Concurrency control in Aurora DSQL. |
Data Definition Language (DDL)
Aurora DSQL supports the following PostgreSQL DDL commands.
| Command | Primary Clause | Supported Clauses |
|---|---|---|
|
|
|
For information about the supported syntax of the |
|
|
|
For information about the supported syntax of the |
|
|
|
|
|
|
|
Index keys can be column names or expressions. You can also use
See CREATE INDEX for the supported syntax. |
|
|
|
|
|
|
|
For information about the supported syntax of the |
|
|
|
For information about the supported syntax of the |
|
|
|
For information about the supported syntax of the |
|
|
|
For more information about the supported syntax of the |
|
|
|
For information about the supported syntax of the |
|
|
|
For information about the supported syntax of the |
|
|
|
For information about the supported syntax of the |
|
|
|
For information about the supported syntax of the |
|
|
|
For information about the supported syntax of the |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
You can nest |
|
|
|
|
|
|
|
|
|
|
|
None |
|
|
|
None |
Data Manipulation Language (DML)
Aurora DSQL supports the following PostgreSQL DML commands.
| Command | Primary clause | Supported clauses |
|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
Data Control Language (DCL)
Aurora DSQL supports the following PostgreSQL DCL commands.
| Command | Supported clauses |
|---|---|
|
|
Supported object types include |
|
|
Supported object types include |
|
|
Configure default privileges for |
Transaction Control Language (TCL)
Aurora DSQL supports the following PostgreSQL TCL commands.
| Command | Supported clauses | Alias |
|---|---|---|
|
|
[ [ |
|
|
|
[ [ [ |
|
|
|
[ [ |
|
|
|
[ [ |
|
|
|
{ { |
Utility commands
Aurora DSQL supports the following PostgreSQL utility commands:
-
EXPLAIN -
ANALYZE(relation name only)