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 / vikas
select *
from a
where rowid not in (select min(rowid) from a group by no)
no is column in table a;
| Is This Answer Correct ? | 10 Yes | 2 No |
Post New Answer View All Answers
State the difference along with examples between Oracle 9i, Oracle 10g and Oracle 11i.
How to use fetch statement in a loop?
How are extents allocated to a segment?
What are the differences between interval year to month and interval day to second?
How to run queries on external tables?
What is Redo Log Buffer in Oracle?
Describe varray?
various types of hints and their usage
Write a syntax for update query in oracle?
How remove data files before opening a database?
What is the exact use of Collections?
how to join query for one source type is oracle another source type is sql server ?
How to grant create session privilege to a user in oracle?
What is primefaces used for?
What is the use of aggregate functions in oracle?