no save
Assistance
Achat
News

Forum | Windows
PROBLEME SQL INNER JOIN
crhistian, le mar. 15 mai 2001 à 00:38:55
J'ai les tables suivantes :

afdcc_membres (NOMPRENOM, NADH)
afdcc_groupes(titre, id_groupe)
afdcc_transition_groupes(NADH, id_groupe)

Comme vous l'avez compris, ce n'est qu'un simple problème d'INNER JOIN avec 3 tables à mixer, mais je bloque. Eh oui, ça arrive à tout le monde !!!

Voici mon SQL :

SELECT afdcc_membres.NOMPRENOM, afdcc_groupes.titre, afdcc_groupes.id_groupe
FROM afdcc_groupes INNER JOIN (afdcc_membres INNER JOIN afdcc_transition_groupes ON afdcc_membres.NADH = afdcc_transition_groupes.NADH) ON afdcc_groupes.id_groupe=afdcc_transition_groupes.id_groupe

pouvez-vous me dire pourquoi ça me sort ce message d'erreur et comment le résoudre ?

MySQL said: You have an error in your SQL syntax near '(afdcc_membres INNER JOIN afdcc_transition_groupes ON afdcc_membres.NADH = afdcc' at line 2

Merci d'avance,

Crhistian



Peg
mai 01
Suivant
REPONSES
Peg
mai 01
gountar00
déc. 07
adon
oct. 08
adon
oct. 08
Version Web
Réalisé par RedShift
no save