tow question:
- is this correct? (for test i use a select statement)
- if yes, how to modify to delete duplicates row?
Code: Select all
SELECT PORTAFOGLI.COD_PTF AS Espr1
FROM PORTAFOGLI
WHERE (((PORTAFOGLI.COD_PTF) In (SELECT [COD_PTF] FROM [PORTAFOGLI] As Tmp GROUP BY [COD_PTF] HAVING Count(*)>1 )))
ORDER BY PORTAFOGLI.COD_PTF;