Answer Posted / vamsi krishna
For 2nd maximum salary
select Max(sal) from EMP a where 2=(select COUNT(distinct(sal)) from EMP b where a.SAL<=b.SAL);
| Is This Answer Correct ? | 14 Yes | 3 No |
Post New Answer View All Answers
What guidelines should be followed to help minimize deadlocks?
What is a subquery in a select query statement in ms sql server?
What is a select query statement in ms sql server?
how to determine the service pack currently installed on sql server? : Sql server database administration
What stored by the master?
What do you understand by recursive stored procedure?
How do I change my passwords (database, LDAP, and so on) without causing an outage?
What is onf in normalization form?
What are commit and rollback in sql?
Explain logical operators in sql server?
Can I use sql azure as a backup with log shipping or database mirroring?
What is extent? Types of extents?
What are the different types of data sources in ssrs?
Mention what are the core components of ssrs?
Explain the creation and execution of a user-defined function in the sql server?