Re-Bonjour à toutes et à tous,

Voici une requête que j'ai fais :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
 
SELECT *
FROM `module`
WHERE `ascendant` = (
SELECT code
FROM fonction
WHERE `ascendant` =2588 )
Quand j'execute cette requête j'obtiens l'erreur suivante :
#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 'SELECT code FROM fonction WHERE `ascendant` = 2588 ) LIMIT 0,

Pouvez-vous m'aider ?

Merci beaucoup
Dimitri.