Google sheets 如何在Google文档查询中使用广义投影?

Google sheets 如何在Google文档查询中使用广义投影?,google-sheets,google-docs,google-query-language,Google Sheets,Google Docs,Google Query Language,我希望在Google查询中使用如下的广义投影,但没有成功 =查询('Form Responses 2'!A:N,“选择如果(月(F)>6,年(F),年(F)-1),N,B,C,D,E,F,G,H,I,J,K其中F>=日期'2011-07-01'和F您需要将现有列和新列放入一个数组中 =arrayformula(query({A:N,if(isdate(F:F),if(month(F:F)>6,year(F:F),year(F:F)-1),F:F) },"Select Col15,Col14

我希望在Google查询中使用如下的广义投影,但没有成功
=查询('Form Responses 2'!A:N,“选择如果(月(F)>6,年(F),年(F)-1),N,B,C,D,E,F,G,H,I,J,K其中F>=日期'2011-07-01'和F您需要将现有列和新列放入一个数组中

=arrayformula(query({A:N,if(isdate(F:F),if(month(F:F)>6,year(F:F),year(F:F)-1),F:F) },"Select Col15,Col14,Col2,Col3,Col4,Col5,Col7,Col8,Col9,Col10,Col11 where Col6 >= date '2011-07-01' and Col6 <= date '2050-06-30' order by Col6 desc, Col2",1))
=arrayformula(查询({A:N,if(isdate(F:F),if(month(F:F)>6,year(F:F),year(F:F)-1,F:F)},“选择Col15,Col14,Col2,Col3,Col4,Col5,Col7,Col8,Col9,Col10,Col11其中Col6>=date'2011-07-01'和Col6