注意:當前為視頻教學,文本教學可在視頻下方查看!
case when isnull((select top 1 bs04603 from sdbs046 where bs04601=bs00416),'')<>bs00403 then isnull((select bs00202 from sdbs046 left join sdbs002 on bs00201=bs04603 where bs04601=bs00416),'') else '' end as TiHuan