bonjour j'ai un petit problème dans ma requete et je trouve pas l'érreur bien quel me semble commencé là
je vous montre toute ma requete pour pouvoir me dire quel est l'erreur merci
Code : Sélectionner tout - Visualiser dans une fenêtre à part $query_mmc ="SELECT mmc1.commandes.mmc_ad, mmc2.commandes.mmc_r, mmc3.commandes.mmc_aff, mmc4.commandes.mmc_tt FROM
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5 $query_mmc ="SELECT mmc1.commandes.mmc_ad, mmc2.commandes.mmc_r, mmc3.commandes.mmc_aff, mmc4.commandes.mmc_tt FROM (SELECT AVG(commandes.commandes_montant) AS mmc_ad FROM customers inner join commandes on customers.customers_id=commandes.customers_id WHERE customers_from='adwords' and (customers_client='1' or customers_emv='1' or customers_seance ='1' or customers_emv='1') mmc1, (SELECT AVG(commandes.commandes_montant) AS mmc_ad FROM customers inner join commandes on customers.customers_id=commandes.customers_id WHERE customers_from='' and (customers_client='1' or customers_emv='1' or customers_seance ='1' or customers_emv='1') mmc2, (SELECT AVG(commandes.commandes_montant) AS mmc_ad FROM customers inner join commandes on customers.customers_id=commandes.customers_id WHERE (customers_client='1' or customers_emv='1' or customers_seance ='1' or customers_emv='1' )and customers_from!='adwords' and customers_from!='' ) mmc3, (SELECT AVG(commandes.commandes_montant) AS mmc_ad FROM customers inner join commandes on customers.customers_id=commandes.customers_id WHERE (customers_client='1' or customers_emv='1' or customers_seance ='1' or customers_emv='1' ) ) mmc4 "; $result_mmc = mysql_query($query_vg);
merci de votre aide




Répondre avec citation




Partager