1.   select a,b,c ,count(*)   from tableName group by a,b,c having count(*)>1.
2.   select * from table1 a where (a.a1,a.a2,a.a3)in(select a1,a2,a3 from table2).
posted on 2006-12-05 21:05  Yang-S  阅读(198)  评论(0)    收藏  举报