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

What is null indicator in cobol db2?

576


What is a plan and package in db2?

611


What is bufferpool in db2?

574


I understand Join always perform better than subqueries. Then what is the advantage/use of Subqueries/correlated subqueries etc.,in DB2 programming.Please explain.

1646


Cursors can be declared in both working-storage & procedure division, agreed. But is there any difference? If could you please suggest what is the difference

737






What are the contents of dclgen?

650


What is the syntax for creating a table in the db2 database?

624


What is universal database?

609


Why do we use cursor?

591


Define data page.

626


How does cobol compile db2 program?

604


What is dbrm?

634


Is db2 a mainframe database?

561


What is blu acceleration in db2?

601


What is the use of predicate?

580