Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有这部分查询:
IF(orders = NULL OR orders = '', "value1', 'value2')
它适用于空单元格但不适用于空单元格,有什么帮助吗?当它为 NULL 时,它什么也不做,但当它为 '' 时,它运行查询
它是拼写的orders is NULL(不是orders = NULL)。
orders is NULL
orders = NULL
你必须使用
IF(orders IS NULL OR orders = '', 'value1', 'value2')
反而