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
how to implement one-to-one, one-to-many and many-to-many relationships while designing tables? : Sql dba
Why is there a need for sqlcode and sqlerrm variables?
how to create a table index in mysql? : Sql dba
How can one get sql*loader to commit only at the end of the load file? : aql loader
How can you get sql*loader to commit only at the end of the load file? : aql loader
Define union, minus, union all, intersect ?
What is self-join and what is the requirement of self-join?
What is data definition language?
Why we use stored procedure instead of query?
Why is nosql good?
what is a scheduled jobs or what is a scheduled tasks? : Sql dba
What are the advantages of indexing?
How do I run a sql query?
what is the difference between nested subquery and correlated subquery?
Which is faster view or stored procedure?