Bonjour,
Je voudrais savoir si il était possible de faire un DELETE FROM avec plusieurs tables ?
J'essaie de lancer la requête suivante :
Mais j'obtiens l'erreur suivante:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2 DELETE FROM sondage__reponse, sondage__question, sondage__choix WHERE sondage__reponse.CodeChoix = sondage__choix.CodeChoix AND sondage__choix.CodeSondage = sondage__question.CodeSondage AND sondage__question.CodeSondage = '2'
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE sondage__reponse.CodeChoix = sondage__choix.CodeChoix AND sondage__choix.C' at line 1
Partager