how to retrieve the top 3 salaries of the table using rownum
Answer Posted / muneer ahamed
select rownum as rank,sal from (select rownum,sal from emp
order by sal desc)
where rownum<4
| Is This Answer Correct ? | 4 Yes | 5 No |
Post New Answer View All Answers
Explain what is a database?
Which are the different case manipulation functions in sql?
What are different types of queries in sql?
What is spool?
What is a constraint?
What is data control language?
Why do we use sqlite?
Can a table have no primary key?
Define overloaded procedure?
What is cartesian join in sql?
Which join is like an inner join?
Why do we use joins?
what is uncommittable transactions? : Transact sql
how to select unique records from a table? : Sql dba
How do I run a query in pl sql developer?