I have a problem when I want to fetch data from data base The problem lies in the use of(-) exemple (code-produit) With that I can not change anything in data base
Requet:
SELECT `Commande.numéro-Commande`,`Date`,`Code-Produit`,`Désignation`,`Prix-Unitaire`,`Qte`
FROM `client`,`commande`,`produit`,`ligne-commande`
WHERE `client.Code-client`=`commande.Code-client` and
`commande.Numèro-commande`=`ligne-commande.Numèro-commande` and
`ligne-commande.Code_Produit`=`produit.Code-Produit` and
`code-client`=5
Error: