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 / dinesh mohan upadhyay
delete from emp
where rowid>any(select min(rowid) from emp a where
a.col1=col1)
| Is This Answer Correct ? | 15 Yes | 8 No |
Post New Answer View All Answers
How do you delete duplicates in sql query using rowid?
What is trigger explain with example?
How do I make sql search faster?
What is database sql?
Is it possible to read/write files to-and-from PL/SQL?
Can 2 queries be executed simultaneously in a distributed database system?
How can we store rows in PL/SQL using array?
Explain locks? : Transact sql
What are inner and outer joins examples of both?
What is the difference between stored procedure and view?
Why we use triggers in mysql?
What is clustered and nonclustered index in sql?
What is clustered index in sql?
What is the difference between the implicit and explicit cursors?
what is an extent ? : Sql dba