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 a db2 package?
What is the picture clause of null indicator variable?
Explain what are the various isolation levels possible?
What are the 2 sqlcodes that are returned?
What is the physical storage length of date data type?
For a db2 column that is being defined as decimal (11, 2), discuss the cobol picture clause.
Define db2 and its databases?
How to take backup of table in db2?
Define buffer pool.
What is dpf in db2?
Explain about rct.
File not opened because library is *PROD and debug is UPDPROD(*NO). ? what may be the reason? how to solve it..?
What is the physical storage length of the data types: date, time, timestamp in the db2 database?
What is sqlca?
What is an instance database?