sql - How to return different strings from a Boolean type in MySQL? -
If I have a column set in mySQL as Boolean, then a query value should be of the 0
1
.
Is it possible to do something
SELECT 'bool_value' as "yes" or "no" text "> Select when bool_value and then "yes" or "no" ed
Comments
Post a Comment