【文件属性】:
文件名称:CASE表达式-db2大全 含配图
文件大小:700KB
文件格式:PPT
更新时间:2021-04-25 19:35:50
db2 db
CASE表达式
必须使用end来结束case
Select fname, lname,
case
when score<65 then ‘not passed’
score<=90 then ‘passed’
else ‘Excellent’
end
from candidate c,test_taken tt
where c.cid=tt.cid and number=‘500’