I have the following Query with which I get the number of times that is repeated every id_turner in my table rol_por_tercero .
use DatabaseName
select id_tercero,COUNT(*)CantidadRepetidos from rol_por_tercero group by id_tercero having COUNT(*)>1
I want to delete a record of the ones that are repeated for each id and leave the other because they generate all the ids are repeated twice
The table in which these records exist is called role_by_third and the field is named id_rol_tiercero . Any ideas on how to do it?