邹建 能进来下么?
http://community.csdn.net/Expert/topic/3170/3170054.xml?temp=.4206201
中你的这句写得很简练。不象我写的容易出错。效率也很好
--查询no重复的记录
select * from 表 a
where (select count(*) from 表 where no=a.no)>1
可是我看了很久一直对这种用法看不太明白。你若有空能帮忙解释一下吗?特别是(select count(*) from 表 where no=a.no)>1 不明白为什么能这么用