Select a record that has a duplicate

Posted by Josh K on Stack Overflow See other posts from Stack Overflow or by Josh K
Published on 2010-06-09T13:57:03Z Indexed on 2010/06/09 14:02 UTC
Read the original article Hit count: 117

Filed under:
|
|
|

I'd like to select all records from a table (names) where lastname is not unique. Preferrably I would like to delete all records that are duplicates.

How would this be done?

© Stack Overflow or respective owner

Related posts about sql

Related posts about mysql