oracle数据库,对每个月份进行分类获取对应月份的对应内容,case...when... 的使用
摘要:
select (CASE WHEN to_char(sysdate, 'MM' )='01' then 'A' WHEN to_char(sysdate, 'MM' )='02' then 'B' WHEN to_char(sysdate, 'MM' )='03' then 'C' WHEN to_char(s... 阅读全文
posted @ 2018-07-30 09:29 EastChilde 阅读(556) 评论(0) 推荐(0) 编辑