I need to return true
or false
rather than 1
& 0
, using following query:
select if(u.id is null,false,true) status
from user u
limit 10
the above query returns status
with value 0 or 1 rather than true
and false
,
Is there any way to fix this?