how to retrieve the top 3 salaries of the table using rownum
Answer Posted / saisravanthi
select salary from
(select salary,rownum from salary_tab
order by salary_tab desc)
where rownum < 4;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What does bitemporal mean?
What are the most important ddl statements in sql?
What is the use of function in sql?
What is nosql example?
Is sql a scripting language?
how is myisam table stored? : Sql dba
How do sql databases work?
How long does it take to learn pl sql?
how do you know if your mysql server is alive? : Sql dba
name 3 ways to get an accurate count of the number of records in a table? : Sql dba
What is the difference between cluster and non-cluster index?
How much does sql certification cost?
What is cursor in pl sql with examples?
If the application is running very slow? At what points you need to go about the database in order to improve the performance?
What's the difference between inner join and left join?