Operand should contain 1 column(s)
ach32
Messages postés
56
Statut
Membre
-
yg_be Messages postés 23437 Date d'inscription Statut Contributeur Dernière intervention -
yg_be Messages postés 23437 Date d'inscription Statut Contributeur Dernière intervention -
Bonjour à tous!
Comme vous pouvez le constater dans le titre de ma requète.
J'essaye de copier le contenu de la table "tampon" vers la table "historique", et j'ai
voici ma requète :
cette erreur: Operand should contain 1 column(s)
Comment là résoudre ? Merci d'avance pour votre aide
Comme vous pouvez le constater dans le titre de ma requète.
J'essaye de copier le contenu de la table "tampon" vers la table "historique", et j'ai
voici ma requète :
$sql = mysql_query("INSERT INTO historique (NUM_FACT,CODE_ARTI,DESIGNATION,CODE_FAM,COD_FRM,STOCK_DORIGINE,PU,QTE_VENDUE,PRIX_TOTAL,RESTE_EN_STOCK,DATE_VENTE,HEURE,VENDEUR) SELECT (NUM_FACT,CODE_ARTI,DESIGNATION,CODE_FAM,COD_FRM,STOCK_DORIGINE,PU,QTE_VENDUE,PRIX_TOTAL,RESTE_EN_STOCK,DATE_VENTE,HEURE,VENDEUR) FROM tampon WHERE VENDEUR = '$id' " ) or die(mysql_error());
cette erreur: Operand should contain 1 column(s)
Comment là résoudre ? Merci d'avance pour votre aide
A voir également:
- Operand should contain 1 column(s)
- End of input at line 1 column 1 path $ - Forum Android
- App explorer sweetlabs should i remove it ✓ - Forum Windows 10
- An operating system wasn't found try disconnecting any drives that don't contain an operating system - Forum Windows 10
- Incorrect integer value: '' for column ✓ - Forum MySQL
- Please plug in battery and its remaining capacity should be more than 20 - Forum Windows 8 / 8.1
1 réponse
yg_be
Messages postés
23437
Date d'inscription
Statut
Contributeur
Dernière intervention
Ambassadeur
1 586
bonsoir, je suggère de supprimer la parenthèse ouvrante après SELECT, et la parenthèse fermante correspondante.