Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Elegant SQL
Message
De
11/05/2005 15:37:25
 
 
À
11/05/2005 12:04:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01012923
Message ID:
01013124
Vues:
16
Thanks, but look at Fabio's solution.

>
>
>
>SELECT SUM(eggs) as sqTotalEggs, SUM(hi_eggprice * eggs) as sqTotalAmt ;
>FROM ( ;
>     SELECT hi_chicks / hi_htchpct as eggs, ;
>      hi_eggprice ;
>     FROM it!hatcinfo ;
>      WHERE hi_invnum = 'A0017' ;
>        AND !DELETED() ;
>    ) as A ;
> into CURSOR curs2
>
>
>
>Not Tested
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform