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
How many databases can sql express handle?
What is pl sql block structure?
What are different categories of sql commands?
What does (*) mean in sql?
Does view contain data?
How do I count records in sql?
what is a trigger in mysql? Define different types of trigger. : Sql dba
What is oracle pl sql developer?
What is a dirty read sql?
What is auto increment in sql?
What is a full join sql?
What is the purpose of a sql?
What is a relationship and what are they?
What is a schema? How is it useful in sql servers?
Is t sql a programming language?