Delete duplicate records in the emp table.
Answer Posted / 14-07-2007
delete from emp where rowid not in(select min(rowid) from
emp group by empno;
| Is This Answer Correct ? | 13 Yes | 2 No |
Post New Answer View All Answers
What are the benefits of triggers?
What is a unique key?
how to write date and time literals? : Sql dba
Is sql database free?
How do I send sql query results to excel?
Is ms sql traffic encrypted?
what are different types of collation sensitivity? : Sql dba
What are sql constraints?
Is sql free?
what are the drivers in mysql? : Sql dba
The in operator may be used if you know the exact value you want to return for at least one of the columns.
How do I add a database to sql?
What is the difference between cross join and natural join?
How do you remove duplicate records from a table?
Why is sharding used?