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 / mvramesh
How about combingin two queries with set operator EXCEPT,
if you have query A EXCEPT query B, the result would be A-B.
Select * from table A fetch first 200 rows only
Union except
Select * from table A fetch first 100 rows only
| Is This Answer Correct ? | 5 Yes | 2 No |
Post New Answer View All Answers
What is database manager in db2?
What is concurrency?
How do I connect my db2 database to ibm?
What is a plan and package in db2?
what is db2 restart?
Explain about cursor stability?
Explain about rct in db2?
What is schema in db2?
How can record locking be achieved in those DB2 versions which do not support it?
What is host variable?
What is the use of value function?
Why do we bind in db2?
What is scrollable cursor in db2?
Who uses db2?
How many databases are there?