Skip to main content
ReferenceApplies to: Unified engine deployments
Look up Unified SQL syntax, types, functions, and statement behavior. SQL examples can be copied into your Unified SQL client. Examples use demo.tpcds for sample tables and demo.examples for the write lab. Replace these names with your catalog and namespace.

Run an example

Copy the SQL into Workbench or a compatible SQL client. Examples that use sample tables need a TPC-DS SF1 dataset. Replace demo.tpcds with your source catalog and namespace, and demo.examples with a private writable namespace. See Example data for the table schema and write-lab requirements. Run related statements in order in the same session. Queries with inline data do not need a sample dataset.

Find a topic

Try the data

This reads ten items from Hub’s SF1 dataset. Replace the qualified name with your catalog and dataset namespace.
The examples teach SQL using TPC-DS data. They are not certified TPC-DS benchmark queries or performance measurements.
Last modified on November 4, 2026