• Query to show only duplicate records (2003)

    Home » Forums » AskWoody support » Productivity software by function » MS Access and database help » Query to show only duplicate records (2003)

    Author
    Topic
    #449728

    I need to produce a query to show only duplicate records, see attachment records highlighted in red are those l want to show in result of query. Any help would be appreciated.

    Viewing 1 reply thread
    Author
    Replies
    • #1103456

      Group by that filed add a second instance of the field and use a count summary and use a criteria aof >1

    • #1103467

      assuming your tabel is called table1 and the field is called field1, the following SQL statement should do it:

      SELECT DISTINCT table1.field1 FROM table1 INNER JOIN (SELECT field1 FROM table1 GROUP BY field1 HAVING COUNT (*) >1) as Tbl1 ON table1.field1 =Tbl1.field1;

    Viewing 1 reply thread
    Reply To: Query to show only duplicate records (2003)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: