CLUSTER BY
Create table option
Description
Sample Source
BigQuery (Input Code)
CREATE TABLE clustered_table
(
customer_id INT,
transaction_amount NUMERIC
)
CLUSTER BY
customer_id
AS (
SELECT * FROM unclustered_table
);Snowflake (Output Code)
Last updated
Was this helpful?