Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I do multiple JOINS in an SQL SELECT?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00361751
Message ID:
00361756
Vues:
14
I might be wrong here, I'm try to learn too, but what I would have expected is

SELECT *;
FROM mytable ;
LEFT JOIN yourtable ON mytable.mydata1 = yourtable.yourdata1 ;
AND yourtable ON mytable.mydata2 = yourtable.yourdata2 ;
AND yourtable ON mytable.mydata3 = yourtable.yourdata3 ;
INTO CURSOR rpt

if I'm wrong, please let me know
Mike

"I can live with doubt and uncertainty and not knowing. I think it is much more interesting to live not knowing than to have answers that might be wrong." - Richard Feynman
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform