Mysql
 sql >> Base de Dados >  >> RDS >> Mysql

Excluir MySQL com Group By


Coloque-o em uma subconsulta:
delete from table 
where columnA in (
  select columnA
  from (
      select columnA
      from YourTable
      group by columnA
      having count(*) > 1
      ) t  
)