how to retrieve the top 3 salaries of the table using rownum
Answer Posted / k.thrilok kumar
select rownum, sal from (select * from emp order by sal
desc) where rownum<=3
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Can there be more than one function with a similar name in a pl/sql block?
what is the difference between char_length and length? : Sql dba
Explain spool.
What is a natural join sql?
what are date and time data types? : Sql dba
What is sql prepared statement?
When can we use the where clause and the having clause?
How many sectors are in a partition?
How to generate a salary slip like jan 1000 1000 feb 1000 2000 ... dec 1000 12000
how to convert numeric values to character strings? : Sql dba
What is procedure explain with program?
Why is the cursor important?
What is a field in a database?
What is procedure function?
How do you use a while loop in pl sql?