See SELECT Statements for a syntax reference and examples.
See Data Model for information on the capabilities of the Amazon Athena API.
CACHE statements allow granular control over the driver's caching functionality. For a syntax reference and examples, see CACHE Statements.
For more information on the caching feature, see Caching Data.
Use EXECUTE or EXEC statements to execute stored procedures. See EXECUTE Statements for a syntax reference and examples.
Names and Quoting
- Table and column names are considered identifier names; as such, they are restricted to the following characters: [A-Z, a-z, 0-9, _:@].
- To use a table or column name with characters not listed above, the name must be quoted using square brackets ([name]) in any SQL statement.
- Parameter names can optionally start with the @ symbol (e.g., @p1 or @CustomerName) and cannot be quoted.
- Strings must be quoted using single quotes (e.g., 'John Doe').