how to find nth highest salary
Answers were Sorted based on User's Feedback
Answer / haribabuboddapati
select max(sal)*from emp
where sal>select max(sal)*from emp
Is This Answer Correct ? | 24 Yes | 100 No |
Answer / rajendra prasad reddy penumall
select salary=max(salart)from from EmpMaster
Is This Answer Correct ? | 17 Yes | 182 No |
Answer / rajendra prasad reddy penumall
select salary=max(salart)from from EmpMaster
Is This Answer Correct ? | 20 Yes | 206 No |
what's the difference between SQL & MY-SQl...? And what we learn from these ....?
Describe in brief system database.
When is update_statistics command used?
how do you implement one-to-one, one-to-many and many-to-many relationships while designing tables? : Sql server database administration
What is a cursor in SQL Server 2000 and their types?
how to improve the speed of SQL database server and how to avoid dead lock?
syntex of insert
Can we take the full database backup in log shipping?
what is the signification difference of this bit data type between sql 6.5 and later version sql server?
What are the different types of indexes?
could you please reply for these question: 1.About Use Apply? 2.Avoid cursors - When we have a situation that we can not avoid the use of cursor than what is the alternate solution? is there anything we can use instead of cursor to perform the desired task? which optiomize the peroformance too. 3.What is computed columns? Thanks in advance. Regards, Rupesh
What is the STUFF function and how does it differ from the REPLACE function?