0
I have an SLQ that returns the amount of repeated records grouped together, However my need is to list all photos from duplicate records
SELECT count(Longitude) AS registros, id_local, Longitude,Latitude,nome_local,endereco,pic FROM `locais` GROUP BY Longitude,Latitude ORDER BY `nome_local` ASC
The query returns me that I have 2 records in the same latitude, I need to give me the name of the 3 photos that are in each record, but grouped only with the name of the location