select (case when 语文>=80 then '优秀' when 语文>=60 then '及格' else '不及格' end) as 语文 from grade;
case when then的用法
最新推荐文章于 2020-03-16 19:00:02 发布
select (case when 语文>=80 then '优秀' when 语文>=60 then '及格' else '不及格' end) as 语文 from grade;