Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL Select for a Report
Message
 
 
To
10/03/2003 16:59:41
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00763620
Message ID:
00763963
Views:
19
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--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform