随笔 - 60  文章 - 11 评论 - 245 trackbacks - 2

备忘....

SQL语句:

table:表名

test:要查的列(有重复的值)

select * from table a where (select count(1) from table b where a.test=b.test)>1

posted on 2009-04-15 14:46 Ants 阅读(211) 评论(0) 编辑 收藏