This article is tagged with:
Sql query inline if
and mysql
sql query inline if
case MyFlag when 1 then 'Yes' else 'No' end
case MyFlag when 1 then 'Yes' else 'No' end