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 are the two types of exceptions.
How can I change database name in sql?
What is equi join in sql?
What is sorting in sql?
Is record in pl sql?
Can we use joins in subquery?
What is data modelling in sql?
Can sql developer connect to db2?
Why do we use sql constraints? Which constraints we can use while creating database in sql?
explain the difference between myisam static and myisam dynamic. : Sql dba
Why do you partition data?
What does fetching a cursor do?
explain advantages of myisam over innodb? : Sql dba
What are the properties of a transaction?
Explain the types of joins in sql?