Answer Posted / shailesh j
SELECT * FROM (
SELECT DEPARTMENT_ID,SALARY,DENSE_RANK() OVER(PARTITION BY
DEPARTMENT_ID ORDER BY SALARY DESC) AS RK FROM EMPLOYEES)
WHERE RK<4;
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Why is theta join required?
Differentiate between pl/sql and sql?
What is the difference between stored procedure and view?
i have a column which may contain this kind of value: 123*67_80,12*8889_5,34*8_874 ,12*7_7 (can contain space before a comma, and this string length can be anything) now i want to split this value into two column like: column1: 123*67,12*8889,34*8,12*7 column2: 80,5,874,7 use function for this
What are the types of index in sql?
Can sql developer connect to db2?
How many columns should be in an index?
What is number function in sql?
Why do we use sql constraints?
What is the non-clustered index in sql?
What is package in pl sql with an examples?
What is cross join sql?
How to write pl sql program in mysql command prompt?
Is sql low level language?
Enlist the characteristics of pl/sql?