adspace


can anybody tell us, how to select 2nd max salary from
table.
my id is ashish.akk@gmail.com

Answer Posted / kumar amit ranjan

To find Top 3 max Sal.... to put any number on the place of
3 to find nth max sal...


select top 3 sal from emp order by sal desc

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we shrink data file in sql server?

1126


How can we solve concurrency problems?

1121


What are the different SQL Server Versions you have worked on?

1077


How to enter binary string literals in ms sql server?

1243


Why should you use or avoid select * statements?

1108


what is the difference between openrowset and openquery?

1193


You have a stored procedure, which execute a lengthy batch job. This stored procedure is called from a trigger you do not want to slow the data entry process you do not want trigger to wait for this batch job to finish before it completes itself what you can do to speed up the process?

1212


Is there any performance difference between if exists (select null from table) and if exists (select 1 from table)?

1022


do you know how to configure db2 side of the application? : Sql server database administration

1123


Why use identity in sql server?

1196


What is standby servers? Explain types of standby servers.

1078


Explain system functions or built-in functions? What are different types of system functions?

1065


How can I check that whether automatic statistic update is enabled or not?

1111


Can we make the the chages By Using the Sql if u know any function or process please inform me Actuall result: BRK1 Break 1 Part 1 00:01:00:00 60 BRK1 Break 1 Part 2 00:01:00:00 60 BRK2 Break 2 Part 1 00:01:00:00 60 BRK2 Break 2 Part 2 00:01:00:00 60 BRK2 Break 2 Part 3 00:01:00:00 60 BRK3 Break 3 Part 1 00:01:00:00 60 BRK3 Break 3 Part 2 00:01:00:00 60 Desired O/P: BRK1 Break 1 Part 1 00:01:00:00 60 Part 2 00:01:00:00 60 BRK2 Break 2 Part 1 00:01:00:00 60 Part 2 00:01:00:00 60 Part 3 00:01:00:00 60

2293


How do I start sql server 2017?

1015