How will you delete duplicate records from a table?
Answer Posted / venkat
delete from emp where ecode IN ( select ecode from emp group by ecode having count(*) >1 )
| Is This Answer Correct ? | 5 Yes | 4 No |
Post New Answer View All Answers
Explain db2.
Define predicate?
Why db2 is called db2?
What is the use of db2 optimizer?
How to fetch the last row from the table in SQL (db2)?
What is performance tuning db2?
B37 abend during spufi?
What is dbrm?
Mention a credible reason why select* is never given preference in an sql program that has been embedded.
What is an instance in db2?
What are the contents of dclgen?
List out the data types available.
What is coalesce in db2?
Mention the downsides of page level lock.
Mention the various locks that are available in db2.