【发布时间】:2012-02-08 13:16:36
【问题描述】:
对于一个给定的例子,我怎么写,
select attendee, begindate
case evaluation
when 1 then 'bad'
when 2 then 'mediocre'
when 3 then 'ok'
when 4 then 'good'
when 5 then 'excellent'
else 'not filled in'
end
from registrations
where course = 'S02'
复合条件,如when 1 [and] something else 'then' 值。
应该使用什么运算符来代替 [and]?
谢谢!
【问题讨论】:
标签: sql oracle conditional-statements