DECODE()函数 用法

 decode(acc.state,

                      '4',

                      '0',

                      '5',

                      '0',

                      '6',

                      '0',

                      '',

                      '0',

                      acc.state) state

decode 中 '' 和 null 效果一样 默认值 ''

猜你喜欢

转载自myxieyu.iteye.com/blog/1703509