Select from two values after a 'where' statement

自闭症网瘾萝莉.ら 提交于 2020-01-06 05:47:35

问题


I'm trying to write a Select and Where query to search for an OR value after my Where statement.

=query('Jigsaw Stories'!A:O,"select * where K OR L = '" & B5 & "'",-1)

I get an error when putting in where K OR L.

Extra note: The query works when I write it like this: =query('Jigsaw Stories'!A:O,"select * where K = '" & B5 & "'",-1)


回答1:


=query('Jigsaw Stories'!A:O,"select * where K = '" & B5 & "'" OR L = '" & B5 & "'",-1)


来源:https://stackoverflow.com/questions/47188793/select-from-two-values-after-a-where-statement

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!