Find Duplicates Query

  • What is the most efficient query to select all duplicate records in a large table?

  • Assuming a key:

    SELECT count(*), <column(s) that make the key>

    FROM <table>

    GROUP BY <column(s) that make the key>

    HAVING count(*) > 1

    Be great!

    Mike


    Be great!
    Michael

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply