How to find out duplicate records in a table(Query)

Answer Posted / lakshmanlal

hi gud evening all, this is lakshmanlal.k.
suppose my table EMP having one column like ENAME in that i
am having 5 values like lakshman,lakshman,siva,rajesh,kiran
now i am writing query for duplicate records
select ename from EMP(tablename)
group by ename
having count(ename)>1

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is system testing?

1565


How the 2 wings and body of the butterfly model of test development is represented?

590


What is path analysis?

812


What do enterprises do for QC 11 to prevent minimum data loss ?

1765


how cam www sites be tested

1504






What is the difference between test matrix and traceability matrix?

579


Why is the decision table testing used?

623


What is upward compression?

650


What is path testing?

688


What is static analysis?

616


What is a test harness?

620


Hi All!!Can anyone please suggest some better website to learn Mainframe Testing??Am very much new to Mainframes. Thanks in Advance Nithya

1212


can you tell me the correct process for creating automation frame work for project(key word driven framework)

1561


What is system test?

559


What is control chart?

556