I want to output a string depending on the value of int column. The query is below and language_id is an int column.
select email, language_id from tgf_mobileuser where email is not null;
What I want to do is get 'English' if language_id is 0, Japanese if language_id is 1.
Any help is greatly appreciated.