find 2nd highest salary of person using cursor concept?
Answer Posted / b.mamatha
select * from tabl1 where salary=(select max(salary) from
tabl1 where salary<(select max(salary) from tabl1)
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What are the different types of data sources in ssrs?
What is user-defined scalar function?
explain how to create a new schema in a database? : Sql server database administration
What is merge statement?
What are commonly used odbc functions in php?
How to create a simple table to test triggers in ms sql server?
What are parameterized reports? What are cascading parameters in ssrs reports?
Tell me what is sql profiler?
What is blocking and how would you troubleshoot it? : sql server database administration
What is a table called, if it has neither cluster nor non-cluster index? What is it used for?
What is self contained sub query?
What is SQL Azure Fabric?
Explain the types of indexes.
what is the system function to get the current user's user id? : Sql server database administration
What is in place upgrade in sql server?