I have table-A(1,2,3,4,4,5,6,6,6,7).
how to get all duplicate values?what is sql query?

Answer Posted / sudipta santra

select * from A group by no having count(*)>1 ;

Is This Answer Correct ?    7 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to select some columns from a table in oracle?

551


How to connect ms access to oracle servers?

552


What do you mean by cdb and pdb in oracle 12c?

641


What is the difference between view and materialized view in Oracle?

608


Give the constructs of a package, function or a procedure.

541






Explain the use of grant option in imp command.

578


Explain the use of consistent option in exp command.

552


How to define a variable to match a table column data type?

580


Explain integrity constraint?

644


How to start a new transaction in oracle?

591


What is transport network substrate (tns) in oracle?

587


Explain alias?

713


What is system global area (sga) in oracle?

576


How do I uninstall oracle client from windows?

534


How to create a stored program unit?

580