I want to delete repeated records from my database and leave only 1, any ideas?
With this instruction you can delete repeated records:
delete tbl from
(select row_number() over(partition by nro_identificacion) as 'ID'
from <tabla>) tbl
where ID<>1
You tell us!
regards,