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 is indexing in sql and its types?
What is cte?
What is set transaction?
Can we call procedure in select statement?
What are operators available in sql?
Why do we use function in pl sql?
What is structural independence and why is it important?
How do I remove duplicates in two columns?
What is dba in sql? : SQL DBA
How do you bind variables in pl sql?
Write a sql select query that only returns each name only once from a table?
What is keys and its types?
What packages(if any) has oracle provided for use by developers?
How do I create an index in word?
What is varchar data type in sql?