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 is a record in a database ? : Sql dba
Is sqlexception checked or unchecked?
Is truncate ddl or dml?
Which sorts rows in sql?
What is a behavioral trigger?
what is the difference between a local and a global temporary table? : Sql dba
Define SQL and state the differences between SQL and other conventional programming Languages?
What is exception? What are the types of exceptions?
What type of database is cloud sql?
Why do we need sharding?
Is sqlite free?
what is an extent ? : Sql dba
what is “go” in t-sql? : Transact sql
What is trigger in pl sql with examples?
Is and as keyword in pl sql?