- SELECT
- INTO
- FROM
- JOIN
- WHERE
- GROUP BY
- HAVING
- UNION
- ORDER BY
- LIMIT
SELECT Syntax
The following syntax diagram outlines the syntax supported by the SQL engine of the provider:Examples
- Return all columns:
- Rename a column:
- Cast a column’s data as a different data type:
- Search data:
- Return the number of items matching the query criteria:
- Return the number of unique items matching the query criteria:
- Return the unique items matching the query criteria:
- Summarize data:
- Retrieve data from multiple tables.
- Sort a result set in ascending order:
- Restrict a result set to the specified number of rows:
- Parameterize a query to pass in inputs at execution time. This enables you to create prepared statements and mitigate SQL injection attacks.