Requete my sql

Utilisateur anonyme -  
 Utilisateur anonyme -
Bonjour,

j'ai une requete a faire pour demain
je ne comprend pas pourquoi elle est fausse

CREATE VIEW adh2010(numadh, nomadh, prenomadh, cotreglee, anneecot)
AS SELECT adherents.numadh, nomadh, prenomadh,cotreglee, anneecot
FROM cotisations, adherents
WHERE cotisations.numadh=adherents.NUMADH
AND "cotreglee='true'
AND ANNEECOT='2010';

#1064 - Erreur de syntaxe près de '"cotreglee='true'
AND ANNEECOT=2010' à la ligne 5

merci d'avance
A voir également:

1 réponse

Utilisateur anonyme
 
CREATE VIEW adh2010(numadh, nomadh, prenomadh, cotreglee, anneecot)
AS SELECT adherents.numadh, nomadh, prenomadh,cotreglee, anneecot
FROM cotisations, adherents
WHERE cotisations.numadh=adherents.numadh
AND cotreglee='true'
AND anneecot='2010';
0