Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
0 or More Children recs. but need SQL for NULL or first 1
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
0 or More Children recs. but need SQL for NULL or first 1
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01205365
Message ID:
01205365
Vues:
67
Hi all

I have parent-child tables. The child table can have 0 or more records for each parent record.

I need to write an SQL where in each row I get a parent record and an either a NULL fields for the child table or only these 1st child record (no multiple occurrence of the parent record due to multiple child recs.), for each and every parent record.

Please let me know how I can go about this.
Regards
Bhavbhuti
___________________________________________
Softwares for Indian Businesses at:
http://venussoftop.tripod.com
___________________________________________
venussoftop@gmail.com
___________________________________________
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform