Want the detail also? Then try this:
select *
from qtemp/test
where TRIM( LEADING '#' FROM STREET) in (
SELECT TRIM( LEADING '#' FROM STREET)
FROM QTEMP/TEST
GROUP BY TRIM( LEADING '#' FROM STREET)
HAVING COUNT(*)>1)


Rob Berendt




Return to Archive home page | Return to MIDRANGE.COM home page