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
For a field in a repeating frame, can the source come from the column which does not exist in the data group which forms the base for the frame ?
What happens to the current transaction if the session is killed?
What are the types of partitions in oracle?
Explain an integrity constrains?
What privilege is needed for a user to create views in oracle?
What is a lookup table in oracle?
Is the After report trigger fired if the report execution fails ?
What is the oracle implicit cursor?
What is background process in Oracle?
How to count groups returned with the group by clause in oracle?
What is java oracle used for?
What privilege is needed for a user to create tables in oracle?
Can we save images in a database and if yes, how?
What is the difference between pre-select and pre-query?
Is oracle a programming language?