Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Select data like Pivot table
Message
De
06/07/2006 23:05:41
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Select data like Pivot table
Divers
Thread ID:
01134342
Message ID:
01134342
Vues:
82
Hi all,

I have mytable.dbf that contains 2 fields :

transitNo region

00001 NY
00001 CA
00001 FL
00001 CO

00002 CA
00002 NY
00002 FL
00002 CO

How to use SQL statments to have newtable ? with 5 fields like Pivot table
in Access or Excel to become :

Newtable :

transitNo NY CA FL CO
00001 yes yes yes yes

00002 yes yes yes yes

Tia for any help in coding with SQL .
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform