I am using php to retrieve PostgreSQL data from a table, the data cannot be repeated, I already have a way of getting data without repeated rows
SELECT DISTINCT realpath FROM paths WHERE fn='$fn'
what i need is a way of knowing which are the repeated rows