Skip to content

Instantly share code, notes, and snippets.

@shotleft
Created December 25, 2019 16:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shotleft/c671729efbc1c1a2a5e47947b6dd05f9 to your computer and use it in GitHub Desktop.
Save shotleft/c671729efbc1c1a2a5e47947b6dd05f9 to your computer and use it in GitHub Desktop.
bq_nest5
WITH paintings AS
(
SELECT ['painting', 'sculpture', 'installation'] AS artworks
UNION ALL
SELECT ['drawing', 'painting'] AS artworks
UNION ALL
SELECT ['painting', 'drawing', 'collage'] AS artworks
)
SELECT
artworks
FROM
paintings
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment