find 2nd highest salary of person using cursor concept?
Answer Posted / krish
select max(sal) frem tbl where sal <(select max(sal) from tbl;
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What are actions, how many types of actions are there, explain with example? : sql server analysis services, ssas
What is difference between delete and truncate commands?
Give an example of why you would want to denormalize a database
Explain the third normal form(3nf)?
Introduction of rollup clause using sum and group by clause?
What are different types of database indexes?
What is side by side migration in sql server?
When cursors are useful?
Explain about SQLOS?
What are the benefits of normalization?
How to execute a stored procedure in ms sql server?
How can I add Reporting Services reports to my application?
How to use “drop” keyword in sql server and give an example?
What is difference between primary key and foreign key?
what is a transaction? : Sql server database administration