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
If I have a view which is a join of two or more tables, can this view be updateable?
What is a db2 tablespace?
What is dbrm in db2 database?
List out the buffer pools in db2
What is a bind in db2?
How does cobol compile db2 program?
How to find schema of a table in db2?
On which levels locks can be applied?
How can you find out the # of rows updated after an update statement?
What are the various data types available in db2?
What does sqlcabc has?
Is db2 a mainframe database?
What is commit in db2?
Why do we bind in db2?
What is database manager in db2?