how to retrieve the top 3 salaries of the table using rownum
Answer Posted / kalyan kumar
select e.ename,e.sal from emp e where 3>(select count
(distinct(b.sal)) from emp b where b.sal>e.sal)
| Is This Answer Correct ? | 19 Yes | 10 No |
Post New Answer View All Answers
What is a common use of group by in sql?
Do prepared statements prevent sql injection?
Is grant a ddl statement?
Explain constraints in sql?
What is a full join?
What is primary key and foreign key?
What is the command used to fetch first 5 characters of the string?
Explain raise_application_error.
Is sql considered coding?
What are the most important characteristics of pl/sql?
How sql query is executed?
What is varchar data type in sql?
Does truncate release storage space?
What do you understand by exception handling in pl/sql?
Which operator is used in query for pattern matching?