Query for Data redundancy

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • brucepayne
    New Member
    • Jul 2007
    • 3

    Query for Data redundancy

    what is the query for reduce redundancy in table plz help me
  • SkinHead
    New Member
    • Jun 2007
    • 39

    #2
    What do you mean by redundancy ?

    Do you mean records that are older than a specific date ?

    Comment

    • brucepayne
      New Member
      • Jul 2007
      • 3

      #3
      Originally posted by SkinHead
      What do you mean by redundancy ?

      Do you mean records that are older than a specific date ?
      i mean one table have data's with redundancy...i want write query for select data's without redundancy

      Comment

      • SkinHead
        New Member
        • Jun 2007
        • 39

        #4
        My apologies for being thick, but by redundancy, do you mean duplicate records ?

        Could you give a brief example from the table of records that are deemed redundant, then I can suggest a means of selecting them.

        Cheers

        Comment

        • brucepayne
          New Member
          • Jul 2007
          • 3

          #5
          yes i mean duplication of records ....when we write a query that omit all dublication records from table and display them into another new table without dublication

          Cheers

          Comment

          • SkinHead
            New Member
            • Jun 2007
            • 39

            #6
            There is some useful info on duplicate records in the following article.

            http://www.kodyaz.com/articles/delete-duplicate-records-rows-in-a-table.aspx

            I know it's to do with deleting duplicates, but it should give you some ideas.

            Comment

            • ck9663
              Recognized Expert Specialist
              • Jun 2007
              • 2878

              #7
              if it's a complete duplicate (meaning all columns are the same) you can simply include the keyword DISTINCT on your select

              try:

              select distinct * from tablename

              Comment

              • hariharanmca
                Top Contributor
                • Dec 2006
                • 1977

                #8
                Originally posted by brucepayne
                i mean one table have data's with redundancy...i want write query for select data's without redundancy
                there is no word called data's, its data.

                Comment

                Working...