Requête SQL (MySQL) sur 3 tables
Fermé
steve.bru
Messages postés
15
Date d'inscription
mardi 7 novembre 2006
Statut
Membre
Dernière intervention
11 juin 2008
-
10 juin 2008 à 09:09
ortys4 Messages postés 254 Date d'inscription mardi 7 novembre 2000 Statut Membre Dernière intervention 26 septembre 2010 - 10 juin 2008 à 09:17
ortys4 Messages postés 254 Date d'inscription mardi 7 novembre 2000 Statut Membre Dernière intervention 26 septembre 2010 - 10 juin 2008 à 09:17
A voir également:
- Requête SQL (MySQL) sur 3 tables
- Tables des matières word - Guide
- Picasa 3 - Télécharger - Albums photo
- Mysql community server - Télécharger - Bases de données
- 3 emoji - Forum Mail
- Photorecit 3 - Télécharger - Visionnage & Diaporama
1 réponse
ortys4
Messages postés
254
Date d'inscription
mardi 7 novembre 2000
Statut
Membre
Dernière intervention
26 septembre 2010
51
10 juin 2008 à 09:17
10 juin 2008 à 09:17
Salut, je pense que tu fais trop de "in" dans la jointure, essaye ça :
SELECT noArticle, libelle, idAction
FROM article, action
WHERE
action.idArticle = article.idArticle
and action.idAction not in(SELECT idAction from suiviaction)
SELECT noArticle, libelle, idAction
FROM article, action
WHERE
action.idArticle = article.idArticle
and action.idAction not in(SELECT idAction from suiviaction)