Results 1 to 3 of 3
  1. #1
    Join Date
    May 2004
    Posts
    2

    Unanswered: how to display ducplicate records / row ?

    hi,

    how can i display duplicate records?

    thanks

  2. #2
    Join Date
    Feb 2004
    Location
    In front of the computer
    Posts
    15,579
    Provided Answers: 54
    What do you define as a "duplicate" row? The obvious answer is:
    Code:
    SELECT columnList
       FROM myTable
       GROUP BY columnList
       HAVING 1 < Count(*);
    You'll need to replace columnList with a comma separated list of the columns that you find interesting.

    -PatP

  3. #3
    Join Date
    Sep 2003
    Posts
    69
    Just

    SELECT *
    FROM Table_Name;

    Should do the trick, replace star with column names. If you're doing a join, then obviously one piece of the query is causing things to not be displayed. Show us your query.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •