ORACLE使用case语句_hanCSDN_20130514

来源:互联网 发布:淘宝信用贷款额度 编辑:程序博客网 时间:2024/05/16 08:33
select t.*,       case t.colname when 'condition1' then 'new1'                          when 'condition2' then 'new2'                        else 'others'       end       as        newname       from table t;

原创粉丝点击