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
Can we insert update delete in view?
Which component is used to execute the sql statements?
How can the duplicate values be eliminated from db2 select?
Mention the location where the output received from explain statement is stored.
What parameters are used to control the free space in DB2?
What is host variable in db2 cobol?
What is database alias db2?
What is a buffer in memory?
How can you classify the locks in db2?
what are bind concepts in db2 cobol?
How to find the maximum value in a column in the db2 database?
What is syscat in db2?
What is difference between isnull and coalesce?
How many types of page locks can be held in db2?
What does db2 blu stand for?