你是要查询的结果,还是要在源表上增加字段?
增加字段:
alter table tabname add 及格 varchar(5);
update tabname set 及格 = case when 分数 >= 60 then 'yes' else 'no' end;