Home Page for the TeradataForum
 
from < table > group by 1,2,...,n having count (*) > 1;

-dave.clark



Archives of the TeradataForum

Message Posted: Wed, 05 May 2004 @ 18:57:29 GMT


     
  <Prev Next>   <<First <Prev Next> Last>>  


Subj:   Re: Deleting Duplicates with a single DELETE statement
 
From:   Clark, Dave

To find all of the duplicate rows in a particular multiset table use the query below:

    ----------------------------------------------------------

    select < col 1 >, < col 2 >, ... , 
     
  <Prev Next>   <<First <Prev Next> Last>>  
 

Attachments

Library

Quick Reference

 

Archives

Sample Index

2016  2007
2015  2006
2014  2005
2013  2004
2012  2003
2011  2002
2010  2001
2009  2000
2008  1999

 

2004 Indexes

Jan  Jul
Feb  Aug
Mar  Sep
Apr  Oct
May  Nov
Jun  Dec


 
 
 

 
 
           
  Top Home Privacy Feedback  
    Copyright for the TeradataForum (TDATA-L), Manta BlueSky     Copyright 2016 - All Rights Reserved     Last Modified: 15 Jun 2023