write a query to delete similar records in same table
Answer Posted / swapna
One way is to rename the original table to something else,
and copy the unique records into the original table.
rename 'Table2', 'Table1'
select distinct * into Table2 from Table1
drop table1
| Is This Answer Correct ? | 5 Yes | 13 No |
Post New Answer View All Answers
Is it possible to pass parameters to triggers?
What is sql exception?
What is a trigger word?
What is sqlerrd?
What is dbo in sql?
What is Histogram?
How does join work in sql?
What is the reports view in oracle sql developer?
What is the difference between instead of trigger and after trigger?
what is 'mysqlcheck'? : Sql dba
What does <> sql mean?
Does sql use python?
What is procedure and function?
what is 'mysqlshow'? : Sql dba
Define sql delete statement.