how to delete duplicate rows from a specified table(only
single table)
how do you know which join is need to be used
Answer Posted / samir kumar sahoo.
DELETE FROM tablename A WHERE ROWID>(SELECT MIN(ROWID) FROM
tablename B WHERE A.key_values=B.key_values);
| Is This Answer Correct ? | 6 Yes | 2 No |
Post New Answer View All Answers
What is the difference between cross join and natural join?
what is uncommittable transactions? : Transact sql
List the different type of joins?
What are sql objects?
Define SQL and state the differences between SQL and other conventional programming Languages?
Explian rowid, rownum?
What is the life of an sql statement?
When do we use triggers?
What are the uses of merge?
Is sql similar to python?
what's the difference between a primary key and a unique key? : Sql dba
Does truncate need commit?
Differentiate between % rowtype and type record.
What are pl sql procedures?
How many commands are in sql?