I have a table which has thousand of records i want to
fetch only record num 100 to record num 200. Write a query
that satisfies this criteria.(Cant use any keys)
Anyone please reply ASAP!
Answer Posted / rajeshkumar
SELECT * FROM TCB732D.AR_AR WHERE NUM_SEQ_AR IN(
SELECT NUM_SEQ_AR FROM TCB732D.AR_AR ORDER BY NUM_SEQ_AR
FETCH FIRST 200 ROWS ONLY)
ORDER BY NUM_SEQ_AR FETCH FIRST 100 ROWS ONLY
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the difference between bind and rebind in db2?
What is collection in db2 bind?
what is db2 restart?
What is syscat in db2?
What is bind package and plan in db2?
What is the default page size of buffer pools?
What is a dbrm in db2?
What is copy pending status in db2?
What is the difference between oracle and db2?
How to restart a DB2 program?
Which command is used to connect to a database in DB2 ? Give the Syntax.
Can we insert update delete in view?
DB2 can implement a join in three ways using a merge join, a nested join or a hybrid join. Explain the differences?
What is meant by explain?
What is db2 connect?