zzt-lovelinlin
select * from  tablename  as  a 
where not exists (select 1 from  tablename  where attachid=a.attachid and name<a.name) 

 mysql另一种去重方式

   select * from table group by name

 

分类:

技术点:

相关文章:

  • 2022-02-09
  • 2022-02-08
  • 2022-01-07
  • 2021-12-09
  • 2021-12-13
  • 2022-02-07
  • 2021-11-18
猜你喜欢
  • 2021-11-10
  • 2021-12-13
  • 2021-12-09
  • 2021-11-26
  • 2021-11-28
  • 2021-12-10
  • 2021-12-18
相关资源
相似解决方案