Answer Posted / srinivas
select * from emp m where(select count(distinct sal)+1 from emp s where s.sal>m.sal)=2
Is This Answer Correct ? | 7 Yes | 3 No |
Post New Answer View All Answers
What is flag in sql?
What is cost in sql execution plan?
When is the explicit cursor used ?
What is the use of count (*) in sql?
How do you select unique values in sql?
How does sql store data?
What are the string functions in sql?
How long will it take to learn pl sql?
What is a heap in sql?
What is exception? What are the types of exceptions?
what are the 'mysql' command line options? : Sql dba
What is nosql vs sql?
What is the difference between the conventional and direct path loads? : aql loader
What is data abstraction in sql?
how can we transpose a table using sql (changing rows to column or vice-versa) ? : Sql dba