读书人

一条sql 话语

发布时间: 2013-12-28 22:19:34 作者: rapoo

一条sql 语句
table1 factory1

id name1

table2 factory2

id name2


找出 2表不重复记录



[解决办法]

select * from factory2 A where not exists(select * from factory1 B where A.id =B.id and A.name2=B.name1)

读书人网 >J2EE开发

热点推荐