Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Counting occurences
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00470932
Message ID:
00470976
Vues:
38
>this is really close, the only problem is that there can be more than one city name in two different states. like a boston, MA and a boston, NY or something. and they need to be treated seperately. thanks for your help so much!
>Ryan
Ok. try again with
SELECT State, PADR(City,30), COUNT(*) AS Hits ;
  FROM MyTable ;
  ORDER BY Hits DESC ;
  GROUP BY State, City
Luis María Guayán
Tucumán, Argentina
________________________________
SysOp de www.PortalFox.com
Nada corre como un zorro
________________________________
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform