日期:2014-05-17 浏览次数:20451 次
select F_ClassName,F_CourseName,F_Studentid,F_Name,
Scores=case when Scores>=10000 then '优'
case when Scores>=8000 and Scores<=9999 then '良'
case when Scores>=6000 and Scores<=7999 then '及' end from 表
Select
F_ClassName
,F_CourseName
,F_StudentId
,F_Name
,Case when Scores>=10000 Then N'优'
when Scores>=9000 Then N'良'
when Scores>=8000 Then N'中'
when Scores>=6000 Then N'及'
Else N'不及'
End As Scores
,InputDate
From tb_Result