Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Complex SQL problem
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Complex SQL problem
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01345309
Message ID:
01345309
Vues:
45
Suppose that I have a table called politics and with this folowing fields
delegates: c(20)
City:         c(20)
State:       c(5)
And I want to generate this sort or report. Can it be done with an SQL statement?
(I know how to do it with a do while loop.)
delegate, City
Robert     Phoenix
Smith     Snow Flake
Burns     Snow Flake
etc.
           Az: Delegates: 3

Stevens  San Diego
Jerome   Los Angeles
          Ca:  Delegates 2
etc.
etc.
Thanks
Steve
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform