Hi,
I'm trying to write a query to delete the duplicate records in a Table
The table (Table1) contains a single column (TestInput) with many records.
I would like to delete the duplicate records from this table leaving atmost one of the duplicate.
I tried to write the query as:
delete T1 from Table1 T1, Table1 T2 where T1.TestInput = T2.TestInput;
But this doesnot work. Can any one please let me know on how to proceed with this query. Thanks.
I'm trying to write a query to delete the duplicate records in a Table
The table (Table1) contains a single column (TestInput) with many records.
I would like to delete the duplicate records from this table leaving atmost one of the duplicate.
I tried to write the query as:
delete T1 from Table1 T1, Table1 T2 where T1.TestInput = T2.TestInput;
But this doesnot work. Can any one please let me know on how to proceed with this query. Thanks.