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 is a self join? Explain it with an example? : Sql server database administration
What new data source types were added in ssrs 2014?
How to add code to the existing article (using improve article)?
How many columns can exist together per table?
What do mean by xml datatype?
What is query processing?
how many layers of tcp/ip protocol combined of? : Sql server database administration
Explain the ways to controlling cursor behavior?
What are the security related catalog views? : sql server security
What number sorts of privileges are accessible in sql?
Give me a SQL Query to find out the second largest company?
How to create an index on an existing table in ms sql server?
Can you import Microsoft Excel data to SSRS?
How to create a stored procedure with a statement block in ms sql server?
Explain about service Broker functions?