how to retrieve the top 3 salaries of the table using rownum
Answer Posted / kalyan kumar
select e.ename,e.sal from emp e where 3>(select count
(distinct(b.sal)) from emp b where b.sal>e.sal)
| Is This Answer Correct ? | 19 Yes | 10 No |
Post New Answer View All Answers
What is the difference between microsoft sql and mysql?
What is rowtype?
What are the different parts of a package?
What does data normalization mean?
explain the delete statements in sql
Can we delete column in sql?
What are different types of triggers?
How can I change database name in sql?
What does select count (*) mean in sql?
Does inner join return duplicate rows?
How we can update the view?
How do I run a pl sql procedure in sql developer?
what happens if null values are involved in expressions? : Sql dba
Is primary key a clustered index?
What is normalisation in sql?