Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help for SQL
Message
From
16/04/2008 13:27:04
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01311183
Message ID:
01311220
Views:
14
Select ;
   Main.DCode, ;
   Main.PCode, ;
   SUM(Payment), ;
   sum(CAST(IIF(Disount>0,1,0) as I ) as DisNum, ;
   sum(CAST(IIF(Disount>0,0,1) as I ) as UnDisNum ;
From Main ;
Group by Main.DCode,Main.PCode ;
Into cursor TempCrs Readwrite
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform