for example:
select 
  case a
  when 1 then 'a'
  when 2 then 'b'
  when 3 then 'c'
  else 'd'
  end
from tab_name;