Shall i use this query to retrieve first 4 records,
Select empno, sal from emptbl where empno < 5. like this can
we fetch first 100 records?
Answer Posted / mr. cooooool
Hi.............
No. you cann't use this.
this query will display records less than 5.
not to for first 4 records.
For exm.
Suppose i have duplicate records like
Empno
1
2
1
1
3
4
then it display all the above records.
b'coz these all r less than 5.
Thanks.
| Is This Answer Correct ? | 9 Yes | 1 No |
Post New Answer View All Answers
Describe major components of db2?
What is the maximum size of varchar data type in db2?
what is utility for parm lib
What is check constraint in db2?
Are view updateable?
What is precompiler in db2?
How to find primary key of a table in db2?
What is the physical storage length of the data types: date, time, timestamp in the db2 database?
How is a typical db2 batch pgm executed?
On which levels locks can be applied?
What is image copy in db2?
What is a db2 schema?
What is the role of data manager in the db2 database?
What is runstats and reorg in db2?
What is cobol db2?