select a.ok 合格情况,
sum(decode(cname, '计算机', countnum, 0)) 人数
from
(select
cname,
case when scgrade =60 and scgrade =70 and scgrade =85 and scgrade
当前位置: 数据库>oracle
Oracle Decode函数详解
来源: 互联网 发布时间:2017-05-05
本文导语: select a.ok 合格情况,sum(decode(cname, '计算机', countnum, 0)) 人数 from(select cname, case when scgrade =60 and scgrade =70 and scgrade =85 and scgrade