how to retrieve the top 3 salaries of the table using rownum
Answer Posted / chiru
select sal from (select distinct sal from emp order
by sal desc)
where rownum<4 ;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Why we use pl sql?
What is the need of merge statement?
how can we know the number of days between two given dates using mysql? : Sql dba
What has stored procedures in sql and how we can use it?
What is #table in sql?
Why is there a need for sqlcode and sqlerrm variables?
What is using in sql?
can sql servers linked to other servers like oracle? : Sql dba
Is primary key a clustered index?
Is it possible to update views?
What are the methods of filing?
Can sql developer connect to db2?
How do I kill a query in postgresql?
What are the types of subqueries?
How do I run pl sql in sql developer?