how to retrieve the top 3 salaries of the table using rownum
Answer Posted / seema
select sal from (select distinct sal from emp order by sal
desc ) where rownum < 3;
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is data types in sql?
Can instead of triggers be used to fire once for each statement on a view?
What does count (*) do in sql?
What is the use of sqldataadapter?
What is pls_integer in pl sql?
What is a primary key called that is made up of more than one field?
What do you understand by case manipulation functions?
what is the maximum length of a table name, database name, and fieldname in mysql? : Sql dba
Is sql considered coding?
How do you exit in sql?
Explain what is rdbms?
Explain the difference in execution of triggers and stored procedures?
What will you get by the cursor attribute sql%found?
How to write a query to show the details of a student from students table whose
how many groups of data types? : Sql dba