日期:2014-05-17 浏览次数:20529 次
insert into AutoAccTemp (brid, lb,bz) select a.id,'1','' from mzsf..mzbr a left join mzsf..mzcard b on a.cardno=b.cardno left join AutoAccTemp c on a.id=c.brid where b.lb='1' and c.brid is null