how to retrieve the top 3 salaries of the table using rownum
Answer Posted / chiru
select sal from (select distinct sal from emp order
by sal desc)
where rownum<4 ;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are types of indexes in sql?
What found sql?
What is difference between rank () row_number () and dense_rank () in sql?
Any attempt to navigate programmatically to disabled form in a call_form stack is allowed?
Is crud a cuss word?
Under what condition it is possible to have a page level lock and row lock at the same time for a query? : Transact sql
What are conditional predicates?
What are the benefits of pl/sql packages?
Which certification is best for sql?
how to decrement dates by 1 in mysql? : Sql dba
What do you mean by dbms? What are its different types?
Explain the savepoint statement.
What is meant by temporal data?
What is recursive join in sql?
When is the explicit cursor used ?