含义解释:
DECODE (条件,值1,返回值1,值2,返回值2,...值n,返回值n,缺省值)
SELECT
DECODE (
BIZTYPE,
1,
'快速版',
2,
'白金版',
3,
'铂金版',
4,
'钻石版',
'默认值'
) AS BIZTYPE
FROM
ERP.T_APP_LOANAPP
含义解释:
DECODE (条件,值1,返回值1,值2,返回值2,...值n,返回值n,缺省值)
SELECT
DECODE (
BIZTYPE,
1,
'快速版',
2,
'白金版',
3,
'铂金版',
4,
'钻石版',
'默认值'
) AS BIZTYPE
FROM
ERP.T_APP_LOANAPP