Problème en Les Jointure

Nouveau WRInaute
Salut!!!!
j'ai cinq table :
Client(Id_client,nom_client,prénom_client,adresse_client)
Commande(Id_commande,#Id_client,Ref_commande,date_commande)
Produit(Id_produit,#Id_client,Nom_produit,Ref_produit,Prix_produit,Qte_stock)
Livraison(Id_livraison,#Id_commande,Date_livraison,adresse_livraison)
Ligne_commande(#Id_commande,#Id_produit,Qte_commandé,Remise,Montant)
Facture(Id_facture,#Id_commande,Total)
je voudrais un requet qui afficher :
(nom_client) la Table Client,(Ref_commande,date_commande) Table Commande,(Nom_produit) Table Produit,(Date_livraison,adresse_livraison) Table Livraison,(Qte_commandé,Remise,Montant) Table Ligne_commande,(Total) Table Facture.
et merci d'avance :mrgreen:
 
WRInaute occasionnel
Code:
SELECT A.nom_client,
B.Ref_commande,B.date_commande,
C.Nom_produit,
D.Date_livraison,D.adresse_livraison,
E.Qte_commande,E.Remise,E.Montant,
F.Total
FROM Client A, Commande B, Produit C, Livraison D, Ligne_commande E, Facture F

a toi de compléter la clause WHERE
 
Nouveau WRInaute
webac a dit:
Code:
SELECT A.nom_client,
B.Ref_commande,B.date_commande,
C.Nom_produit,
D.Date_livraison,D.adresse_livraison,
E.Qte_commande,E.Remise,E.Montant,
F.Total
FROM Client A, Commande B, Produit C, Livraison D, Ligne_commande E, Facture F

a toi de compléter la clause WHERE
Merci beaucoup pour votre réponse :D
mais je trouvé la solution:
select Nom_client,Ref_commande,Date_commande,Date_livraison,Adress_livraison,Nom_produit,Qte_comm,Remise,montant,Total from
Produit inner join Ligne_Commande on(Produit.Id_produit=Ligne_Commande.Id_produit) inner join Commande on(Ligne_Commande.Id_commande=Commande.Id_commande)
inner join Livraison on(Commande.Id_commande=Livraison.Id_commande) left outer join Client on (Client.Id_client=Commande.Id_client) left outer join Facture on (Commande.Id_commande=Facture.Id_commande)
 
Discussions similaires
Haut