MySQL SELECT FIEL

select IF('fieldname with condition','if true value','if false value') from table_name where 1;
jcho.morpheo