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 / sam
SELECT num,
COUNT(num) AS NumOccurrences
FROM A
GROUP BY num
HAVING ( COUNT(num) > 1 )
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
How to connect to a remote server?
Explain the use of Merge statement in oracle 11g
What is a sub query and what are the different types of subqueries?
How to create a table index in oracle?
What are the predefined tablespaces in a database?
Can we use bind variables in oracle stored procedure?
How do I uninstall oracle 11g?
What is the minimum client footprint required to connect c# to an oracle database?
Explain the difference between replace() and translate() functions in oracle?
How to create an oracle database manually?
What is the difference between I and G in Oracle?
How to define a variable to match a table column data type?
Which are the five query types available in oracle?
How to retrieve data from an explicit cursor?
What is private procedure oracle?