34,872
社区成员
发帖
与我相关
我的任务
分享select sid,cid,score=case when score>=90 then 'A'
when score>=80 and score<90 then 'B'
when score>=70 and score<80 then 'C'
when score>=60 and score<70 then 'D'
when score<60 then 'E' end
into Choices_tmp from Choices
drop table Choices
sp_rename 'Choices_tmp','Choices'