Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can this be done with SQL statement
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00728373
Message ID:
00728404
Views:
18
Ed,
Thanks for your reply. Works great !!

Gerard

>>Hi.
>>I'm wondering is there a SQL statemnt to do the following:
>>
>>My File has two fields:
>>Flda Fldb
>>---- ----
>>A 100
>>A 200
>>A 300
>>D 105
>>D 107
>>E 153
>>E 156
>>
>>I want as a result:
>>A 300
>>D 107
>>E 156
>>i.e. The highest record based on the Flda field
>
>SELECT flda, MAX(fldb) FROM MyFile GROUP BY Flda
Previous
Reply
Map
View

Click here to load this message in the networking platform