Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Multiple join condition syntax
Message
 
 
À
28/05/2002 13:37:31
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00662093
Message ID:
00662096
Vues:
22
Try
SELECT * ;
  FROM table1 ;
    FULL OUTER JOIN table2 ON table1.f1 = table2.f1 ;
    LEFT OUTER JOIN table3 ON table2.f2 = table3.f2 ;
  WHERE (some condition)
>Using VFP7.
>
>I am trying to perform a 3 table join. Is it possible to do a Full Outer Join and a Left Join in the same select command?
>
>For example:
>
>SELECT * ;
> FROM table1 FULL OUTER JOIN table2 ;
> table2 LEFT OUTER JOIN table3 ;
> ON table1.f1 = table2.f1 ;
> ON table2.f2 = table3.f2 ;
> WHERE (some condition)
>
>Is something like this possible?
>
>Thanks,
>
>Jerryt
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform