A table has 150 records. How do you retrieve 100th row to
120th row from that table ?

Answer Posted / arif hussain

select * from (
select ROW_NUMBER() over (order by tablename.columnname)as ronno,* from tablename )x
where ronno between 100 and 120

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the operators in sql?

752


Why is sharding used?

726


What are the benefits of triggers?

893


What is pl sql commands?

730


Why use triggers in sql?

706






What are tables and fields?

762


how can we encrypt and decrypt a data present in a mysql table using mysql? : Sql dba

840


What is the difference between microsoft access and sql server?

713


What is normalisation and its types?

727


Which one is better subquery or joins?

775


What is a file delimiter?

742


What is information schema in sql?

763


What are sql constraints?

788


What are the types of triggers in sql?

698


What is the most restrictive isolation level? : Transact sql

768