how to get 25th row in any table in sqlserver can u tell me
syntax

Answer Posted / svreddy

select *from emp a where 25=(select count(distinct(eno))from emp b where a.eno>=b.eno

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is recursion? Is it possible for a stored procedure to call itself or recursive stored procedure? How many levels of sp nesting is possible?

488


What types of replication are supported in sql server?

561


Can foreign key be deleted?

524


How to integrate the ssrs reports in application?

540


what stored procedure would you use to view lock information? : Sql server administration

578






Explain the advantages of merge replication?

505


Where are sql server usernames and passwords stored in the sql server?

611


What are the different types of locks in the database?

486


Can we add an identity column to decimal datatype?

578


You accidentally delete the msdb database what effect does this have on your existing sql databases, and how do you recover?

543


What is difference between view and materialized view?

533


Where can you find the error log information? : sql server database administration

561


What is a db view?

514


How to delete all rows with truncate table statement in ms sql server?

487


What is optimistic concurrency?

561