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 / nathan
SELECT sal,rn
FROM (SELECT ROW_NUMBER () OVER (PARTITION BY sal ORDER BY
empno DESC) rn,
sal
FROM emp)
WHERE rn > 1;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Explain the use of tables option in exp command.
What is a sub query and what are the different types of subqueries?
How to call a sub procedure?
What is the max number of columns in an oracle table?
What is the difference between hot backup and cold backup in oracle? Tell about their benefits also.
Difference between oracle's plus (+) notation and ansi join notation?
What do you know about normalization? Explain in detail?
what is normalisation?what are its uses?
Can a formula column be obtained through a select statement ?
defination of bitmap index
What is raw datatype in oracle?
How to insert a record into a table?
I creat Credit memo in AR. Now i want revers the Credit Memo.how you can revers that what out any aditional entry.
How to synchronize 2 schema's objects?
How to get execution path reports on query statements?