Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SELECTing MAX()
Message
From
13/12/2000 18:09:41
 
 
To
13/12/2000 11:00:14
Mike Yearwood
Toronto, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00452686
Message ID:
00453151
Views:
29
>Hi Dragan
>
>I've tried to do that kind of query in one line and even asked for more input here on the UT, but apparently its not possible in VFP's SQL implementation.
>
>I'm going to ask if VFP 7 can do it.

How about something like

SELECT * FROM MyCursor cur1;
WHERE score IN (SELECT MAX(score) FROM MyCursor cur2 WHERE cur1.id=cur2.id)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform