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 / venkat
select * from table where empno > 100 or ( select * from
table where empno < 200)
Some many ways to write a query for this, this is one way...
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
List out the buffer pools in db2
What is the picture clause of null indicator variable?
What is the use of db2?
What is reorg and runstats in db2?
What is rebind in db2?
What is db2? Explain.
Name the lockable units in DB2?
How is deadlock resolved?
What is database reorganization?
What are the rules for db2 programming?
What action db2 takes when a program aborts in the middle of a transaction?
What is buffer pool and list some of them?
How can tablespace be moved to another dasd volume that is allocated for that tablespace?
How to take backup of table in db2?
How to restart a DB2 program?