mysql select if zero
snippet in sql

mysql select if zero

user4186

SELECT IF((SELECT CASE WHEN 1>0 THEN 'true' ELSE 'false' END),'true','false');