Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Select all question
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01154181
Message ID:
01154185
Vues:
12
Reposted for clarity:

Hi,

Can I do the following with a select all type statment"

I have a table that looks something like this:
r# household Parent house# ages
1  Smiths    Robert 27 42
2            Bobby  27  4 && child of Robert
3  Barnes    Mary   74 32
4            Margy  74  2 && child of Mary
etc.
Can I use an SQL statement to generate a new table that looks anthing like this?
r# household inhabitants   house# ages
1  Smiths    Robert, Bobby 27     42,4
2  Barnes    Mary, Margy   74     32,2
etc.
Would it make a difference if the starting out table looked like this?
r# household Parent house# ages
1  Smiths    Robert 27     42
2  Smiths    Bobby  27     4 && child of Robert
3  Barnes    Mary   74     32
4  Barnes    Margy  74     2 && child of Mary
etc.
Thanks very much,
Steve
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform