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 ttitle and btitle?
What is the difference between local and global temporary table?
how to rename an existing table in mysql? : Sql dba
Is and as keyword in pl sql?
Can we want to pass a parameter payroll_id to this external pl/sql function, how do we do it?
What is the use of procedures?
What are the types of triggers in sql?
What is difference between nchar and nvarchar?
What is benefit of creating memory optimized table?
Can pl sql procedure have a return statement?
what are the advantages of sql ? : Sql dba
What are the differences between implicit and explicit cursors?
What is a constraint? Tell me about its various levels.
what is the difference between sql and t-sql? : Transact sql
What is difference sql and mysql?