Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Select problem
Message
De
04/04/2006 09:12:16
 
 
À
04/04/2006 08:57:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Divers
Thread ID:
01110231
Message ID:
01110235
Vues:
15
>i have two table
>
>(table invoice) = inv_no,trans_no,client_code,client_name
>
>and
>
>(table item_invoice) = inv_no,trans_no,item_hscode
>
>so i want to retrieve all the client name that have the item_hscode 8899009900
>
>so how can i do that



Something like this:
select aa.inv_no,aa.trans_no,aa.client_code,aa.client_name ;
from invoice aa ;
join item_invoice bb ;
on aa.inv_no = bb.inv_no ;
where bb.item_hscode = 8899009900 ;
into cursor MyResults


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform