【问题标题】:Col BY causing parse error in Google sheets queryCol BY 在 Google 表格查询中导致解析错误
【发布时间】:2020-11-09 21:38:19
【问题描述】:

我正在尝试在 google 表格中运行以下查询,但是当我尝试选择 BY 列时收到解析错误。如果没有此列,它会按预期运行。

以下查询:

=QUERY('Applications received'!B:DL,"Select B,CT,CU,CV,CW,CX,BY where B is not null order by CX")

非常感谢任何帮助!

【问题讨论】:

    标签: google-sheets google-sheets-formula google-query-language


    【解决方案1】:

    BY 列需要用 ` 转义:

    =QUERY('Applications received'!B:DL,
     "select B,CT,CU,CV,CW,CX,`BY` 
      where B is not null 
      order by CX")
    

    https://developers.google.com/chart/interactive/docs/querylanguage#reserved-words

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2021-10-16
      • 2020-06-21
      • 2020-06-23
      • 1970-01-01
      • 1970-01-01
      • 2014-11-11
      • 2018-07-10
      • 2011-09-17
      相关资源
      最近更新 更多