SELECT
    decode(job,'P','Programmer','SE')
FROM
    sample;

job列の値がPならProgrammer、違うならSEを出力する