I want to get all records in case the result_1 is not null like below :
SELECT ID,
Code,
NULLIF(CompareWithField,2.25) as result_1
FROM `data`
WHERE Indexed = 0
and code = 142
and 'result_1' is not null
But instead, every time I run the query, I receive a result even if result_1 reports NULL.
Any solution ?