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
What is copy pending and check pending in db2?
What is db2 connect?
On which levels locks can be applied?
How can you classify the locks in db2?
How would you find out the total number of rows in a db2 table?
How to check sequence on a table in db2?
Who uses db2?
What are iseries servers?
What is access path in db2?
For a db2 column that is being defined as decimal (11, 2), discuss the cobol picture clause.
What are the 2 sqlcodes that are returned?
What is view db2?
What is with ur in db2?
What are packages in db2?
What is the physical storage length of time data type?