https://cloud.google.com/bigquery/sql-reference/data-types
As the documentation mentions, the following syntax should be working : This syntax can also be used with STRUCT comparison for comparison expressions using multi-part keys,
e.g. in a WHERE clause: WHERE (Key1,Key2) IN ( (12,34), (56,78) )
I am trying the same query and I get a syntax error:
SELECT a, b FROM some_table WHERE (a, b) IN ( (11332728, 126), (12312, 3131 ) );
" Encountered " "," ", "" at line 3, column 10. Was expecting: ")" .."
Have you used this ? Can you please give me an example ?
(
and count)
. Same number? - jarlh