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
Tell me what is sql profiler?
What is 2nf normalization?
What is the difference between clustered and a non-clustered index?
Write the syntax for stuff function in an sql server?
What does it mean to normalize a database and why would you do it?
can an automatic recovery be initiated by a user? : Sql server administration
Why I have to use stored procedures?
How to defragment table indexes?
How to use union to merge outputs from two queries together in ms sql server?
What are database states in ms sql server?
Define cross join in sql server joins?
How to receive output values from stored procedures?
what are database files and filegroups? : Sql server database administration
Can we deploy SSRS reports on our personal website?
What is format parameter in ssrs?