I have table with 3 columns:
I want to get all records where type like '%' and is_connect like 'N'
, Including rows where type IS NULL
or contains a string.
My query:
SELECT *
FROM OFFER
WHERE TYPE LIKE '%'
AND IS_CONNECT LIKE 'N';
I got the rows where type is NOT NULL
, but how can I get all rows, even when the type IS NULL
?