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
Suppose a student column has two columns, name and marks. How to get name and marks of the top three students.
What is structural independence and why is it important?
What are different clauses used in sql?
Can we use rowid as primary key?
what is schema? : Sql dba
What is the difference between execution of triggers and stored procedures?
Is and as keyword in pl sql?
Which is faster truncate or drop?
How many times can we commit in a loop?
What are sql queries used for?
How to process query result in pl/sql?
Where the sql database files are stored?
What program will open a mdb file?
Explain what is sql?
what are dynamic queries in t-sql? : Transact sql