how do you count the duplicate records in a table

Answer Posted / purushotham

select column,count(1) from a
group by column
having count(1)>1;

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is package in pl sql with an examples?

731


Does truncate release storage space?

769


What is a pragma statement?

955


what is text? : Sql dba

779


Is a view faster than a stored procedure?

713






What are primary key and foreign key and how they work?

745


What are the types of optimization?

688


How is use pl and sql?

738


What is the mutating table and constraining table?

738


What does data normalization mean?

718


what are the advantages and disadvantages of views in a database? : Sql dba

765


Why is pl sql needed?

678


What is rownum?

711


Can we create clustered index without primary key?

710


What is varchar data type in sql?

715