Reserved keywords
editReserved keywords
editThis functionality is in beta and is subject to change. The design and code is less mature than official GA features and is being provided as-is with no warranties. Beta features are not subject to the support SLA of official GA features.
Table with reserved keywords that need to be quoted. Also provide an example to make it more obvious.
The following table lists all of the keywords that are reserved in Presto, along with their status in the SQL standard. These reserved keywords must be quoted (using double quotes) in order to be used as an identifier, for example:
SELECT "AS" FROM index
Keyword |
SQL:2016 |
SQL-92 |
|
reserved |
reserved |
|
reserved |
reserved |
|
reserved |
reserved |
|
reserved |
reserved |
|
reserved |
reserved |
|
reserved |
reserved |
|
reserved |
reserved |
|
reserved |
reserved |
|
reserved |
reserved |
|
reserved |
reserved |
|
reserved |
reserved |
|
reserved |
reserved |
|
reserved |
reserved |
|
reserved |
reserved |
|
reserved |
reserved |
|
reserved |
reserved |
|
reserved |
reserved |
|
reserved |
reserved |
|
reserved |
reserved |
|
reserved |
reserved |
|
reserved |
reserved |
|
reserved |
reserved |
|
reserved |
reserved |
|
reserved |
reserved |
|
reserved |
reserved |
|
reserved |
reserved |
|
reserved |
reserved |
|
reserved |
reserved |
|
reserved |
reserved |
|
reserved |
reserved |
|
reserved |
reserved |
|
reserved |
reserved |
|
reserved |
reserved |
|
reserved |
reserved |
|
reserved |
reserved |
|
reserved |
reserved |
|
reserved |
reserved |
|
reserved |
|
|
reserved |
reserved |
|
reserved |
reserved |
|
reserved |
reserved |
|
reserved |
reserved |
|
reserved |
reserved |
|
reserved |
reserved |
|
reserved |
reserved |
|
reserved |
reserved |