Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can I summarize fields in my view by Grouping?
Message
De
28/09/1999 18:05:25
 
 
À
28/09/1999 18:03:27
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00270261
Message ID:
00270263
Vues:
25
>I have created a view that I would like to have be just a summary table. How do I get my numeric field to be a summary of all the records that I have grouped? Thanks in advance!

Select SUM(myfield) As mysumfield From mytable Group by fieldX

BTW, there is no necessity to use view for summarization, you may better use plain cursor.
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform