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
How to get the ddl of a table in db2?
What's The Error Code For Unique Index Voilation?
What is the role of data manager in the db2 database?
what is the sqlcode -501
What are db2 objects?
List out the three types of page locks that can be held.
How to restart a DB2 program?
What is the difference between "db2ilist" and "db2 get instance" commands in DB2 Database Server?
What does a deadlock mean in DB2?
Define db2 and its databases?
How would you find out the total number of rows in a db2 table?
Explain about rct.
What does db2 stand for?
What is dbrm?
What is db2 command?