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
11. Display the client number and name and the client number and name of the person who referred that client.
Can you assign multiple query result rows to a variable?
How to view existing locks on the database?
Can we protect our pl/sql source code?
What is snapshot is too old? Give and example for better understand.
What is the fastest query method to fetch data from the table?
How to assign values to variables?
what are the advantages of running a database in archive log mode?
Can we use bind variables in oracle stored procedure?
master table and child table performances and comparisons in Oracle ?
What is a tns file?
What happens if you use a wrong connect identifier?
Is there any way to find out when one specific table/view/M-view is used last time. i.e. when one specific object is used in any SELECT statement.
What is Undo Management Advisor in Oracle?
How will you identify oracle database software release?