Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
WHERE clause with JOIN syntax
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01080471
Message ID:
01080581
Vues:
17
> Being really pedantic I can not be silent for the fact that one letter
> aliases is considered a bad practice. Use two letters at least.

OK.
select aaaaaa.field1, aaaaaa.field2, bbbbbb.fieldfrombbbbbb ;
from table1 aaaaaa ;
inner join table2 bbbbbb on bbbbbb.somefield=aaaaaa.somefield;
where aaaaaa.field1="X"
Golly. That's a lot clearer. ;-)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform