博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

数据库查重

Posted on 2010-01-07 10:06  lann  阅读(161)  评论(0编辑  收藏  举报
select count(*) as aaa,sfzh  from xj group by sfzh order by aaa having(count(*)>1)