Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL Select for a Report
Message
 
 
À
10/03/2003 16:59:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00763620
Message ID:
00763963
Vues:
18
Hi Joro,

Sorry, there's extra comma after Qout. Also, you query doesn't take in account movimento values of 50 and 51. Is it intentional?

>Hi Sergey,
>
>Thank's for your response, i try that with my real table name, like
>
>SELECT ficmolde, ficmater, ;
>    SUM(IIF( movimento <= 49, Quantidade, 0)) AS Qin, ;
>    SUM(IIF( movimento >  51, Quantidade, 0)) AS Qout, ;
>    from ficmvmp ;
>    group by 1,2
>
>and it gives an error to me
>
'command is missing required clause'
>
>Thank's
>
>João
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform