Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Counting Names
Message
De
28/12/1999 16:06:53
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
 
 
À
28/12/1999 16:01:04
Rebecca Burlingame
Pima County Superior Court
Tucson, Arizona, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
00309467
Message ID:
00309476
Vues:
23
Something like this should do it:

select left(cField,1) as letter, count(*) as no from yourTable group by 1
>Is anyone out there a SQL expert? I'm trying to count all the people in my personnel table and group them by first letter of last name. I want my result set to look like this:
> A 203
> B 309
> C 594
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform