Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Order by date, group by cusomerid
Message
De
23/06/2003 07:12:39
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Order by date, group by cusomerid
Divers
Thread ID:
00802828
Message ID:
00802828
Vues:
53
Who can help me?
I have a table 'custdetails' with the following fields: Shipdate,customerid.
I want to fill grid with how many NEW customer I had every day.
I rununing the following syntax:
select * from custdetails order by shipdate into cursor tmp1 nofilter
select * from tmp1 group by customerid into cursor tmp2 nofilter
Select shipdate,count(customerid) from tmp2
My problem is that I get the late shipdate not the first (if person has shipdate for today and for yesterday he will be counted as yesterday).
What can I do?
Thank you for help
Chaim
Thank you
Chaim
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform