Google 工作表查询 - 删除空白列 Header

Google Sheets Query - Remove Blank Column Header

我是 运行 一个简单的 Google 表格查询,例如:

=query({input1!A2:D},"select Col1,' ','  ','   ',Col2,Col3 where Col1 is not null",0)

我留下了空白的列,这很好用,但是,我有一个 header,如下所示:

" "()   "  "()  "   "()

如何删除它们?

您可以通过添加空 label ' ''',' ''',' '''

来删除它
=QUERY({input1!A2:D}, "select Col1,' ','  ','   ',Col2,Col3 
                       where Col1 is not null
                       label ' ''','  ''','   '''", 0)