Google bigquery 在bigQuery中将表名(动态)作为列引用

Google bigquery 在bigQuery中将表名(动态)作为列引用,google-bigquery,Google Bigquery,我认为答案是使用Union,但我有一个困难的时候,因为我想动态查询表名。目前我有: SELECT id, created_on, operation, property_type, place_with_parent_names, floor, rooms, expenses, price_aprox_local_currency, description, title FROM `properati-data-public.properties_

我认为答案是使用Union,但我有一个困难的时候,因为我想动态查询表名。目前我有:

SELECT
  id,
  created_on,
  operation,
  property_type,
  place_with_parent_names,
  floor,
  rooms,
  expenses,
  price_aprox_local_currency,
  description,
  title
FROM
  `properati-data-public.properties_mx.properties_sell_20*`
WHERE
  _TABLE_SUFFIX BETWEEN '1501'
  AND '1810'

我试图在select部分添加tableName或类似的内容,但无法正确执行。

在下面添加select语句

CONCAT('properties_sell_20', _TABLE_SUFFIX) table_name

在下面添加以选择语句

CONCAT('properties_sell_20', _TABLE_SUFFIX) table_name