注意:当前为视频教学,文本教学可在视频下方查看!
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