Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL syntax for the following
Message
 
 
À
31/07/2007 02:12:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01244721
Message ID:
01244806
Vues:
15
Too bad. It works fine in SQL Server.

>I tried your solution, but get "Queries of this sort are not supported" error.
>
>Regards
>Doug Johnston
>
>
>
>>Hi Doug,
>>
>>Assuming that idnum is PK for mytable
>>
>>SELECT * FROM mytable t1
>>  WHERE idnum IN (SELECT TOP 20 PERCENT idnum FROM mytable WHERE cgroup = t1.cgroup ORDER BY iscore)
>>ORDER BY cgroup, iscore
>>
>>>
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform