Pole wybierz mysql Jeśli warunek

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