[MYSQL] Syntaxe requête
RE4
-
RE4 -
RE4 -
Bonjour,
J'aimerais faire un delete de ce genre:
Quel est la bonne syntaxe ? Merci.
J'aimerais faire un delete de ce genre:
DELETE FROM `client` WHERE `client`.`NOM` = 'DUPONT' AND WHERE `client`.`Prénom` = 'Jean';
Quel est la bonne syntaxe ? Merci.
Configuration: Windows Vista Firefox 2.0.0.14
7 réponses
-
>Bah la syntaxe semble bonne quel est le réel problème?
-
#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 `client`.`Prénom` = 'Jean' at line 1
Voilà le problème. -
Essaie :
DELETE * FROM `client` WHERE `client`.`NOM` = 'DUPONT' AND WHERE `client`.`Prénom` = 'Jean';
-
-
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question -
Laquelle cette fois la même?
-
requête SQL: DELETE * FROM `client` WHERE `client`.`NOM` = 'DUPONT' AND WHERE `client`.`Prénom` = 'Jean' MySQL a répondu:Documentation #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 '* FROM `client` WHERE `client`.`NOM` = 'DUPONT' AND WHERE `client`.`Prénom` = 'J' at line 1
-