case when嵌套
摘要:如果该列字段有为空的值,那么根据另一个字段值去判断结果,可以使用嵌套case when select p.id, p.pay_no, p.pay_status, case when nvl(p.check_result,'-1')='-1' then case when p.pay_status =
阅读全文
posted @ 2020-03-23 11:26
posted @ 2020-03-23 11:26
posted @ 2020-03-22 15:25
posted @ 2020-03-20 14:51
posted @ 2020-03-18 16:35