Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select top 3 within a group
Message
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01129690
Message ID:
01526560
Views:
54
>>Hi,
>>
>>Than I am afraid the problem is still unsolved as also the solution as per Message 1129692 results with the 2 records team 'DDDD' which do not meet the condition > 2. and solution as per Message 1129782 result in 4 records team 'BBBB" which do not meet the condition top 3
>>
>>Still looking for the correct VFP SQL syntax.
>>
>>Regards,
>>
>>Koen
>
>See also http://www.kodyaz.com/articles/top-n-random-rows-foreach-category-or-group.aspx

BTW, I tried various combinations myself (including this one) and none worked in VFP except the solution posted by Sergey.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform