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
What is difference between stored function and application function?
What does select * from mean in sql?
How to generate a salary slip like jan 1000 1000 feb 1000 2000 ... dec 1000 12000
How to run pl/sql statements in sql*plus?
What is normalisation in sql?
What is bind reference and how can it be created?
What is sql indexing?
What is tuple in sql?
Why do we use procedures?
Can we want to pass a parameter payroll_id to this external pl/sql function, how do we do it?
Is it possible to sort a column using a column alias?
Explain dml and ddl?
What information is needed to connect sql*plus an oracle server?
how to select unique records from a table? : Sql dba
What are aggregate functions in sql?