write a query to delete similar records in same table
Answer Posted / nirmalendu
delete from table_name where rowid not in(select min(rowid)
from table_name group by column_name);
** column_name which having duplicate record
Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
How can you create an empty table from an existing table?
How would you convert date into julian date format?
Is hadoop a nosql?
Is record in pl sql?
What is raw datatype in sql?
How do I delete a trigger?
Why do we create views in sql?
How do you use join?
Explain the difference between rename and alias?
What is the difference between function and procedure in pl/sql?
What are the types of variables use in pl sql?
When a dml statement is executed, in which cursor attributes, the outcome of the statement is saved?
What is difference between db2 and sql?
how does a local variable is defined using t-sql? : Transact sql
how many sql dml commands are supported by 'mysql'? : Sql dba