how to retrieve the top 3 salaries of the table using rownum
Answer Posted / debanjan rudra
select sal from (select sal from emp order by val desc)
where rownum < 4;
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is the difference among union, minus and intersect?
how to calculate expressions with sql statements? : Sql dba
How to read/write files from pl/sql?
how to create a test table in your mysql server? : Sql dba
How to connect a sql*plus session to an oracle server?
What do you understand by case manipulation functions?
Are subqueries better than joins?
Is natural join and inner join same?
Is there any restriction on the use of union in embedded sql?
Write a sql query to get the third highest salary of an employee from employee_table?
ERROR:Insert or update on table"accnt" violates foreign key constraints "acct_to_curr_symbol" DETAILS:KEY(accnt_curr_id)(-2)is not present in the table "curr_symbol" ......solve The Problem..
How do you declare a constant?
How do you declare a user-defined exception?
What are the most important characteristics of pl/sql?
Is sql the best database?