Mike Yearwood
Toronto, Ontario, Canada
General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only