a表 b表都有consid字段 如果a表中的consid的值为空的话 就取b表的consid的值 oracle sql语句怎么写?
nvl(a.consid,b.consid)或者用case when判断都可以实现
这个意思吗?