oracle sql 多重if else if 判断

 DECODE(P.SEX, 0, '先生', 1, '女士', 2,'人妖')    sql中最实用的if else if else if ,这个日常我经常使用,拿出来给各位提个醒sql

相关文章
相关标签/搜索