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 primary key?
What is a recursive stored procedure?
Is full outer join same as cross join?
Can we use having without group by in sql?
What is mdf ldf and ndf?
What is a heap in sql?
What is null in pl/sql?
Can we use update in sql function?
Why stored procedures are faster than query?
How to use transactions efficiently : transact sql
What is lexical units in pl sql?
Can you skip header records while loading? : aql loader
What is the sql query to display the current date?
What is varchar example?
What are the built in functions of sql?