My query is
SELECT partnumber, side FROM crpt_admin_orders_partnumbers
WHERE order_id = 198 AND side != 'B'
so in side column expected value is NULL, 'A', 'B'
. I need to get all Null
and 'A'
records, but this query is not returning any results.
if I run
SELECT partnumber, side FROM crpt_admin_orders_partnumbers
WHERE order_id = 198 AND side is NULL
then it returns me 2 records.
What is the possible cause for this not working. And what is the solutions. Thanks in advance