Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我必须在 BigQuery 中查询 100 个条件(在 where 子句中)。我想,如果 80 多个条件中的任何一个为真,那么它应该获取数据。在 Big Query 中可能吗?
以下是 BigQuery 标准 SQL
select * from `project.dataset.table` where ( select countif(condition) from unnest([ condition1, condition2, condition3, . . . condition99, condition100 ]) condition ) >= 80