Created
December 25, 2019 16:54
-
-
Save shotleft/d0b3c18af608d47bbadb6499b833b5aa to your computer and use it in GitHub Desktop.
bq_nest6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
CROSS JOIN UNNEST(artworks) AS artworks |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment