J'essaye de faire marcher cette requete depuis deux heures, mais sans succés.
select termine,client_nom,user_nom,demande,objet_web,reponse_web from Demandes d, clients c, utilisateurs u where client_nom=(select client_nom from Demandes d, Clients c where inter_id<>0 and d.inter_id=c.client_id) and user_nom=(select user_nom from Demandes d, Utilisateurs u where inter_id=0 and d.src_id=u.user_id) and d.inter_id=c.client_id and d.src_id=u.user_id order by $order
Je l'ai décomposé :
select termine,client_nom,demande,objet_web,reponse_web from Demandes de, Clients cl where client_nom=(select client_nom from Demandes d, Clients c where inter_id<>0 and d.inter_id=c.client_id) and de.inter_id=cl.client_id
et je me suis rendu compte que c'est cet partie qui plante, mais pourquoi ?
merci de votre aide.