select case type when 'y' then '正确' when 'n' then '错误' end
from A