how to get duplicate records from tables?write qurey for this?

Answer Posted / pandu

To get the duplicate records in a table use the query
Select distinct(deptno) from emp;
reply any one to me am i correct.

Is This Answer Correct ?    2 Yes 26 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I import a csv file into db2?

564


ther r 2 tables OTTABLE & SALTABLE, add the otamt from OTTABLE to empsal of SALTABLE if eid is matched else add the unmatched from OTTABLE to SALTABLE

1599


Explain various types of locks in db2?

694


can we view the access paths created by dbrm ? how ? thx

6262


What is the picture clause of null indicator variable?

694






Differentiate between cs and rr isolation levels? Where do you specify them?

587


What is with ur in db2?

763


What are iseries servers?

570


List down the types of triggers in the db2 database?

594


What is access path in db2?

566


What do you mean by rollback?

574


What do you mean by storage group (stogroup)?

585


Is db2 relational database?

574


What type of database is db2?

527


What are sqlcodes –803,-805, -811, -818,-904,-911,-913,-101, +100?

716