there is a sequence number, but for every company it does
not necessarily start with 1 ,2, 3, see eg
customer company amount number
smith msft 100 1 **
smith msft 200 2
smith at&t 250 8 **
smith at&t 300 9
smith gte 150 11 **
smith gte 200 12
jones msft 250 15
jones msft 150 16
jones at&t 150 18
i wnat the records with the ** 's
thanks
sm :)
Quote:
>-----Original Message-----
>How do you determine what is the FIRST record? Records
are not ordered when
Quote:
>they are stored, so there must be some criteria to
determine which is the FIRST
Quote:
>record. Is there a date field that can be used to
determine which record is
Quote:
>first? Or perhaps a sequence number of some kind?
>> hi,
>> i have a table with customer field and company field
(and
>> other fields). as data is entered, all records are
>> distinct. i want only the very first customer record as
>> the company changes for a particular customer.
>> e.g.
>> customer company amount
>> smith msft 100.00 **
>> smith msft 200.00
>> smith msft 300.00
>> smith at&t 500.00 **
>> smith at&t 200.00
>> smith gte 100.00 **
>> smith gte 200.00
>> jones msft 100.00
>> jones msft 200.00
>> i want to pick out the records with the stars.
>> thanks
>> sm :)
>.