I have:
`a` int DEFAULT '0'
From the thousands of records I have, I want to select a that do not have a value of 0 or empty.
a
I tried something similar.
"SELECT * FROM TABLE WHERE (`a` unequal '0' or '') ;"
Try this
SELECT * FROM TABLE WHERE (`a` '0' or `a` = '' or `a` is null)
Try this