Say I have a table with two columns called A, and B. I want to get a result set that fulfills the following criteria:
Get result set where
- Column A is null
- Column B is not null
So I do the following SQL:
SELECT * FROM myTestTable WHERE columnA IS NULL and columnB IS NOT NULL;
But it throws an error?
Can anyone please help?
Thanks in advance!
UPDATE!
This query will work with the added backticks (`) like this: