select case when qz.quiz_enabled
then 'yes'
else 'no'
end
nebo
select if(qz.quiz_enabled, 'yes', 'no')
select case when qz.quiz_enabled
then 'yes'
else 'no'
end
nebo
select if(qz.quiz_enabled, 'yes', 'no')