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 |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Specify equality predicates on all primary key columns (for example,
Specify on a single table query. If you use joins or multiple tables, the query returns |
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 more information about the supported syntax of the |
ALTER |
VIEW |
For information about the supported syntax of the |
DROP |
VIEW |
For information about the supported syntax of the DROP VIEW
command, see DROP VIEW. |
|
|
|
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 |
|---|---|---|
|
|
|
|
|
|
|
|
DELETE |
FROM |
USING, WHERE |
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)