how to find the particular row in table?(means suppose one
table contain 10 rows , in these 10 rows how to find the
particular row(example in 10 rows i want 5 row how)?

Answer Posted / kishor

select top 1 * from table_name
where id in (select top 5 id from table_name order by id asc)
order by id desc

Is This Answer Correct ?    3 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is sql sandbox in sql server?

616


Explain about Normalization?

567


What is BLOCK statements in SQL?

804


How to download microsoft sql server 2005 express edition?

574


Explain the benefits of user-defined functions?

523






Explain triggers in sql?

551


What do you understand by check constraint in sql server?

479


If you lose rights to your sql server instance what are the options to connect to sql server instance? : sql server security

534


What are the basic features of a trigger in ms sql server?

566


What will happen if a column containing char type data is changed to the nchar data type?

622


How do you clear a log file?

507


What is intellisense?

585


Explain a differential backup?

575


How can you start sql server in different modes?

503


What is the purpose of linked server configuration in sql server?

552