adspace


Please get the 4 th maximum salary from a table without
using any sql keyword (TOP,MAX are mot allowed)

Answer Posted / sumathy

Am Sumathy the above answer was posted by me.

For the above Answer 'absolute 2' will fetch 2nd maximum
value.

To fetch 4th maximum value use 'absolute 4'
To fetch 'n'th maximum value use 'absolute n'

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

1071


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

2300


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

1120


If any stored procedure is encrypted, then can we see its definition in activity monitor?

1083


what is spatial nonclustered index

1066


Can you index views?

958


How do I find the sql server version?

1114


What are the source of constraints?

1015


Explain “row_number()” in sql server with an example?

1086


What are wait types?

1262


How to enter binary string literals in ms sql server?

1256


Why and when do stored procedure recompile?

1077


Is it possible to have clustered index on separate drive from original table location?

1049


Why we use the openxml clause?

1088


explain different types of backups avaialabe in sql server? Given a particular scenario, how would you go about choosing a backup plan? : Sql server database administration

1139