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 the difference between local and global temporary table?
What is trigger and stored procedure in sql?
What are different categories of sql commands?
What is the use of index in hive?
How insert into statements in sql?
How does postgresql compare to mysql?
What is left join in sql?
Explain mutating table error.
What is record data type?
What are pl sql procedures?
Will truncate release space?
What does select * from mean in sql?
Explain the difference between cursor declared in procedures and cursors declared in the package specification?
What normalization means?
What is the difference between joins?