Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL syntax for the following
Message
From
01/01/2009 13:16:15
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01244721
Message ID:
01370488
Views:
17
>>>Doug,
>>>
>>>I understand that this is an old thread, but this topic was discussed today on another forum. See this solution
>>>http://forums.asp.net/t/1362385.aspx
>>>
>>>
>>>select [id],[name]
>>>
>>>from test as A1
>>>
>>>where (select count(*) from test as A2 where A2.[id]=A1.[id] and A2.name<=A1.name )<=2
>>>
>>>order by [id]
>>>
>>>
>>Hi Naomi,
>>
>>but the PERCENT is lost !
>>
>>Happy new 2009.
>>
>
>Hi Fabio,
>
>What do you mean here?
>
>Happy New Year!

The thread require a 20 PERCENT grouping, don't a 20 items grouping.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform