Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What does db2 stand for?

994


My sql statement select avg(salary) from emp yields inaccurate results. Why?

1076


What is a db2 tablespace?

1044


What is the physical storage length of the data types date, time, and timestamp?

1078


How to find the number of rows in a db2 table?

1105


What are the rules for db2 programming?

1071


How do you pull up a query which was previously saved in qmf?

1134


What is the max length of sqlca?

1206


Where can you declare a cursor in a cobol-db2 program?

1054


What is runstats db2?

1003


Can we update view in db2?

983


What is the purpose of using commit?

1081


Explain how can you do the explain of a dynamic sql statement?

1104


Name the various locking levels available?

1081


What is database alias db2?

1105