I want to sort my database duplicates out via 'Telephone' I can only seem to delete them all instead of keeping one of the numbers
My code currently:
delete from costar where (SELECT pnum FROM costar group by pnum having count(*) >= 2)
any help will be much appreciated
thanks