摘要:
select case when deptno=10 then 'aaaa' when deptno=20 then 'bbbb' when deptno=30 then 'cccc' end 别名,sal from 表名 select decode(deptno,10,'aaaa',20,'bbb 阅读全文
摘要:
select case when deptno=10 then 'aaaa' when deptno=20 then 'bbbb' when deptno=30 then 'cccc' end 别名,sal from 表名 select decode(deptno,10,'aaaa',20,'bbb 阅读全文
|