Can someone tell me what is the difference between these two mysql statements: -
<=> and =
Both will get the same results. Are they used the same way?
select s.dwt,s.shipnam from tbl_ship s
where s.dwt >= 1 and s.deleted = 'N'
and s.dwt = 11000
group by s.co_cod
and
select s.dwt,s.shipnam from tbl_ship s
where s.dwt >= 1 and s.deleted = 'N'
and s.dwt <=> 11000
group by s.co_cod
Thank.
source
share