how to retrieve the top 3 salaries of the table using rownum
Answer Posted / kavitha
select employee_id,last_name,salary
from employees
where rownum <=3
order by salary desc
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What are sql commands?
What are some emotional triggers?
What are sql ddl commands?
What is primary and foreign key?
How to return multiple rows from the stored procedure?
how can you create an empty table from an existing table? : Sql dba
how many sql ddl commands are supported by 'mysql'? : Sql dba
What is pl sql collection?
Explain cursor types?
How long it takes to learn pl sql?
What does pl sql stand for?
What is the syntax to add a record to a table?
Is sqlite thread safe?
How can you view the errors encountered in a trigger?
What is function and procedure?