现在的位置: 首页 > 综合 > 正文

查找表中的重复行

2014年03月10日 ⁄ 综合 ⁄ 共 194字 ⁄ 字号 评论关闭
Code:
  1. select * from tb_producttype where protname in(   
  2. select protname from tb_producttype group by protname having count(*)>1   
  3. )  

     

                                                           

抱歉!评论已关闭.