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
How do I count rows in sql?
What is view explain with example?
How is debugging done?
What is a call statement? Explain with an example.
what are the drivers in mysql? : Sql dba
What is a primary key sql?
What are the advantages of pl sql?
what is the difference between union and union all? : Sql dba
Which join condition can be specified using on clause?
what is meant by nl2br()? : Sql dba
What will you get by the cursor attribute sql%found?
what are the limitations of mysql in comparison of oracle? Mysql vs. Oracle. : Sql dba
What is dml with example?
Why is there a need for sqlcode and sqlerrm variables?
How would you pass hints to the sql processor?