Skip to main content
  • 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

  1. Return all columns:
  1. Rename a column:
  1. Cast a column’s data as a different data type:
  1. Search data:
  1. Return the number of items matching the query criteria:
  1. Return the number of unique items matching the query criteria:
  1. Return the unique items matching the query criteria:
  1. Summarize data:
  1. Retrieve data from multiple tables.
  1. Sort a result set in ascending order:
  1. Restrict a result set to the specified number of rows:
  1. Parameterize a query to pass in inputs at execution time. This enables you to create prepared statements and mitigate SQL injection attacks.