but you could try something, it's not very pretty, but providing the two result sets have the same columns you can put them both into a temp table and select all from the temp table
@Codewizard Sorry I didn't place the full context.
Acually I am trying to query nested columns in bigquery
CREATE TABLE `polished-time-266716.TestData.tabletest2` ( country STRING, year ARRAY<STRUCT<age ARRAY<Struct<population String>>>> );
This is the schema of my table
Trying to write SQL using this table that returns Turkey’s population of 35 age in year 1985.
@ARr0w maybe, but its bigquery google cloud
This is what i currently have. SELECT * FROM `polished-time-266716.TestData.tabletest2` WHERE EXISTS ( SELECT 1 FROM UNNEST(year) ) and country = 'Turkey'
U can simply try select * from "table name" where country like "turkey" age="35" year=1985 this syntax is valid if u are specifying everyone's yar ang separately
I was wondering if anyone knew how this would work. I'm creating an inventory management database, and wanted to have a storage bin that could contain items, but there might be more than one of each item, so there'd be duplicate entries. I'm confused at how to go about this.