Google 查询 - "NOT LIKE" 语句不起作用
Google Query - "NOT LIKE" Statement Doesn't work
以下行不起作用:
=QUERY(AB:AE,"select AB,AC,AD,AE where AB NOT LIKE '%Info%'",1)
投掷:
Unable to parse query string for Function QUERY parameter 2: PARSE_ERROR: Encountered " "AH "" at line 1, column 26. Was expecting one of: "(" ... "("
然而,这个确实如此:
=QUERY(AB:AE,"select AB,AC,AD,AE where AB LIKE '%Info%'",1)
可能第 AB
列可以为空:
=QUERY(AB:AE,"select AB,AC,AD,AE where AB NOT LIKE '%Info%' OR AB IS NULL",1)
AB + (NOT AB) + (NULL in column AB) <=> entire set
NOT 应该在列标识符之前:
=QUERY(AB:AE,"select AB,AC,AD,AE where NOT AB LIKE '%Info%'",1)
以下行不起作用:
=QUERY(AB:AE,"select AB,AC,AD,AE where AB NOT LIKE '%Info%'",1)
投掷:
Unable to parse query string for Function QUERY parameter 2: PARSE_ERROR: Encountered " "AH "" at line 1, column 26. Was expecting one of: "(" ... "("
然而,这个确实如此:
=QUERY(AB:AE,"select AB,AC,AD,AE where AB LIKE '%Info%'",1)
可能第 AB
列可以为空:
=QUERY(AB:AE,"select AB,AC,AD,AE where AB NOT LIKE '%Info%' OR AB IS NULL",1)
AB + (NOT AB) + (NULL in column AB) <=> entire set
NOT 应该在列标识符之前:
=QUERY(AB:AE,"select AB,AC,AD,AE where NOT AB LIKE '%Info%'",1)