Skip to content
Advertisement

Using wildcard in bigquery project name

I am trying to extract some information from all tables in the SALES dataset. I want to run it for multiple clients. Each client has a big query project. Bellow query returns what I want for our London client. How I can use a wildcard to do the same query for the other 10 clients and union all in one table?

Basically, I want to simplify the below query:

Advertisement

Answer

Consider below approach

User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement