NVL(字符串,替换字符) 如果字符串为空则替换,否则不替换
select br.bank_agency_no ,br.payee_name , br.country, nvl(br.bank_agency_no ,nvl(br.payee_name , br.country)) 替换后字符 , br.* from tableName br ;
部分截图如下:
select br.bank_agency_no ,br.payee_name , br.country, nvl(br.bank_agency_no ,nvl(br.payee_name , br.country)) 替换后字符 , br.* from tableName br ;
部分截图如下: