Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Improve a requery
Message
 
 
To
11/08/2003 05:14:56
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00818689
Message ID:
00818835
Views:
16
sorry

try it http://www.Amline.be/Test.txt AND http://www.Amline.be/Test1.txt



>ftp://195.146.205.14/Utilisateurs/Bernhart/
>
>don't accept anonymous access.
>
>Try this:
>
>
>  SELECT Etats.nPoscat, ;
>    Etats.ccat_physiq  ,;
>    Etats.ntype , ;
>    COUNT( DatesFiltred.ddate ) Ncat, ;
>    Etats.ltransfert  ;
>    FROM FORCE DatesFiltred JOIN Etats  ;
>    ON Etats.nPoscat = DatesFiltred.nPoscat AND Etats.ntype=DatesFiltred.ntype ;
>    GROUP BY  ltransfert , Etats.ntype , Etats.nPoscat ; && IMPLICIT ORDER ON VFP
>    INTO CURSOR Sum_Categ_per_periode
>
>
>
>  SELECT Etats.nPoscat, ;
>    Etats.ccat_physiq  ,;
>    Etats.ntype , ;
>    COUNT( DatesFiltred.ddate ) Ncat, ;
>    Etats.ltransfert  ;
>    FROM DatesFiltred JOIN FORCE  Etats  ;
>    ON Etats.nPoscat = DatesFiltred.nPoscat AND Etats.ntype=DatesFiltred.ntype ;
>    GROUP BY  ltransfert , Etats.ntype , Etats.nPoscat ; && IMPLICIT ORDER ON VFP
>    INTO CURSOR Sum_Categ_per_periode
>
>
>without index and with 1 or two index.
>
>post :
>
>SELECT SUM(Ncat) FROM Sum_Categ
>and
>SELECT SUM(Ncat) FROM Sum_Categ_per_periode
>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform