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
definition of cluster and non-clustered index?
Can the query output be sorted by multiple columns in oracle?
I have a database backup file in .db (ext) form how to conver it into .dmp (ext.) for oracle database
What is meant by joins? List out the types of joins.
What is the difference between translate and replace?
How to list all user accounts in oracle?
Explain how you would restore a database using RMAN to Point in Time?
What is index-organized table in Oracle?
Explain user account with reference to oracle.
In XIR2 if we lost the administration password .How can we regain the password?thanks in advance.
How to write numeric literals in oracle?
What is meant by raw datatype?
How to update values on multiple rows in oracle?
Explain overloading. Can functions be overloaded?
How to generate query output in html format?