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
candidate key is subset of super key but not vice-verse explain
How many file formats are supported to export data?
What is a cursor in oracle?
How to set up autotrace for a user account?
How to create a temporary table in oracle?
How are extents allocated to a segment?
Explain the use of ignore option in imp command.
Why do I get unexpected characters from 8-bit character sets in weblogic jdriver for oracle?
Use of an integrity constraint is better to validate data. Explain
Please explain me all types of Data models. Also give me the details if each model can have other name.for example:schematic data model is also known as conceptual data model and entity relation data model.
how to join query for one source type is oracle another source type is sql server ?
How to define default values for formal parameters?
How to start your 10g xe server from command line?
Describe the types of sub query?
Will you be able to store pictures in the database?explain.