find 2nd highest salary of person using cursor concept?
Answer Posted / amruta dash
select max(salary) from tbl where salary not in (select max
(salary) from tbl);
| Is This Answer Correct ? | 11 Yes | 6 No |
Post New Answer View All Answers
What is the difference between value type and reference type?
Where sql server user names and passwords are stored in sql server? : sql server database administration
explain the difference between oracle- sql and sql server sql ? if both are same y we r using 2 sw.s?
What is 2nf normalization?
Do you know what is lock escalation?
Explain view in sql server?
What is executereader?
how would you troubleshoot blocking? : Sql server database administration
How to make remote connection in database?
What is federation member?
What is a view in sql?
What is bookmark link in ssrs?
Can you import Microsoft Excel data to SSRS?
What happens if time-only values are provided as date and time literals?
What is a DBMS, query, SQL?