ITeye博客

查某张表中某字段重复记录大于1的语句

summerlin · 2015-10-08 14:58 · 数据库 · 数据库 · Markdown

select * from tab1 where xh in (select xh from tab1 group by xh having count(*)>1 )

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。