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
Can I create table without primary key?
what are all different types of collation sensitivity? : Sql dba
What is Histogram?
how to convert dates to character strings? : Sql dba
What are the different types of dbms?
Is sql scripting language?
Is trigger a stored procedure?
What are the types of optimization?
What are the different types of joins in sql?
What is a field in a database?
What is a primary key sql?
what is cross join? : Sql dba
What is rollback?
what is schema? : Sql dba
What are the main features of cursor?