Insert Into 表2 Select * From 表1 Where Alltrim(表1.身份证号) != Alltrim(表2.身份证号)
可能需要编程了。use biao1scanif ??insert into biao2 () values ()endifendscan