database - Can we perform joins on tables in two different projects in BigQuery? -
i have 2 projects having datasets. want perform join of 1 table first project table in second project. how can that? query ?
yes, can. need qualify table name project name, i.e. projectname:dataset.table here example of joining 1 of tables against table in publicdata project:
select sum(a.is_male) (select is_male, year [publicdata:samples.natality]) inner join (select year [moshap.my_years]) b on a.year = b.year
Comments
Post a Comment