2
I wonder if it is possible to show duplicate records and which id
that they are duplicated.
Table Example:
I would like to display the duplicate names, but let him also inform me id
along.
I made the consultation below:
select count(*) as contador, nome_F
from comerciantes
group by nome_f
having count(*) > 1
However this way he only shows me quantity of duplicates and not the id
linked.
I want him to show not only the amount of duplicates, but also the id
.
thanks for the help.
– Alisson Lucas