sql语句如何查询两个表中几个字段有不相同的数据集合?

日期:2011-04-15 09:37:59 人气:2

sql语句如何查询两个表中几个字段有不相同的数据集合?

select * from table1 a where not exists (select 1 from table2 b where a.a b.a and a.bb.b and a.c b.c)
    A+
热门评论