Select 姓名, (Case When 体重 < 40 Then '偏瘦' When 体重 > 50 Then '偏胖' Else '适中' End) As 体型 From {学生}
运行时提示如下错误