U kunt MySQL's IF . gebruiken verklaring SELECT `PRODUCT`, IF(`HAS` = 1, 'Yes', 'No') AS `HAS` FROM NUMBERS