1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
| SELECT T_Entreprise.Noment,
T_Entreprise.Sitgeoent,
T_Client.Numcli,
T_Client.Nomprencli,
T_Client.Contactcli,
T_Client.Noment,
T_Pousseur.Numpouss,
T_Pousseur.Nomprenpouss,
T_Pousseur.Contactpouss,
T_Commandes.Numcmd,
T_Commandes.Datecmd,
T_Commandes.Etatcmd,
T_Commandes.Dateta,
T_Commandes.Operateur,
T_Commandes.Numcli,
T_Commandes.Numpouss,
T_Commandes.Disponible,
T_Commandes.Valeurtot,
T_Commandes.Totliq,
T_Commandes.Totcas,
T_Details_Commandes.Numcmd,
T_Details_Commandes.Nomboiss,
T_Details_Commandes.Prixliq,
T_Details_Commandes.Prixemb,
T_Details_Commandes.Qte,
T_Details_Commandes.Totcasier,
T_Details_Commandes.Totliq,
T_Details_Commandes.Valtot,
T_Details_Commandes.Nbcasrendu,
T_Details_Commandes.Totcasrendu
FROM T_Entreprise, ,
INNER JOIN T_Client ON (T_Entreprise.Noment = T_Client.Noment)
INNER JOIN T_Commandes ON (T_Client.Numcli = T_Commandes.Numcli)
INNER JOIN T_Details_Commandes ON (T_Commandes.Numcmd = T_Details_Commandes.Numcmd)
INNER JOIN T_Pousseur ON (? ? ? ? ? ? ?)
WHERE T_Commandes.Numcmd = Nc
ORDER BY T_Details_Commandes.Nomboiss |
Partager