I want to do a select request in mysql, but I don't know how to filter it. My filter clause is on the column A.present and contain the value 0,1, null. I want to exclude only the 1 value.
My request looks like
Select *
from A,
left join B on A.b_id = B.id
where A.present <> 1
But this request doesn't return the null value. How can I get it? THank you