我有两张字段类型完全一样的表table_1和表table_2
列数大概10列左右,每列都可能有不同的项,举例:
table_1
a   b   c   d   e   f   g   
1   1   1   1   1   1   1
1   1   1   1   1   1   1
1   1   1   1   1   1   1
1   1   1   1   1   1   1
1   1   1   1   1   1   1
1   1   1   1   1   1   1table_2
a   b   c   d   e   f   g
1   1   1   1   1   1   1
1   2   1   1   1   1   1
1   1   1   2   1   1   1
1   1   1   1   1   1   1
1   1   1   1   1   2   1
1   1   1   1   1   1   1现在想选出两表不同的条,就是上例中table_2中包含2的条。
请问有没有不用(table_1.a=table_2.a and table_1.b=table_2.b and table_1.c=table_2.c and table_1.d<>table_2.b) and...这样的