标签:sql查询 查询某个重复出现字段
select * from TB_BUSINESSLICENSE where c_id in(select c_id from TB_BUSINESSLICENSE group by c_id having COUNT(c_id) >1) -- TB_BUSINESSLICENSE 为表名
本文出自 “猴子也疯狂” 博客,谢绝转载!
标签:sql查询 查询某个重复出现字段
原文地址:http://1251769215.blog.51cto.com/11633863/1784464