方法一:

select * from  tablename  where  id   in   (select  id  from  tablename   group  by  id   having count(id) > 1 )

方法二:

 

select DISTINCT t.* from ( select*  from Goods g )  t

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-12-28
  • 2021-11-01
  • 2021-11-01
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-12-18
  • 2022-12-23
  • 2021-12-18
  • 2022-12-23
相关资源
相似解决方案