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
what are the different tables present in mysql, which type of table is generated when we are creating a table in the following syntax: create table employee (eno int(2),ename varchar(10)) ? : Sql dba
how to use in conditions? : Sql dba
what are the properties and different types of sub-queries? : Sql dba
How many sql statements are used? Define them.
How do I partition in sql?
Why truncate is faster than delete?
What is aggregate function in sql?
How is use pl and sql?
Is sqlite free?
Is sql a scripting language?
Does truncate remove indexes?
What is the use of primary key?
What are the different sql languages?
Difference between global and parameter variables?
What are all ddl commands?