Ha! I was doing the same, but got this response:
Certainly! Let's break down your requirement:
You want to retrieve results where:
1. 'Column1' is null or blank in all instances.
2. 'Column2' is null or blank, except when the status of 'Column1' is either "abc" or "123".
Based on your provided code snippet, it seems like you're on the right track, but there might be a syntax issue. Here's the corrected version:
OR (
(COLUMN1 IS NULL OR COLUMN1 = '')
OR
(
(COLUMN2 IS NULL OR COLUMN2 = '')
AND
COLUMN1 NOT IN ('ABC', '123')
)
)
Nee idea which is right. But I’ve become reliant on ChatGPT now. It does help a lot.
It’s class like! A lazy person’s dream!