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

Popular posts from this blog

wpf - Line breaks and indenting for the XAML of a saved FlowDocument? -

gtk - Python Window Resize -

c# - read full xml file data over tcp -