j'ai un problème avec une version SQL 4.0
il ne reconnait pas "not in (select"
"select * from chat where recepteur='$idlogin' and etat_r!=1 and emeteur
NOT IN (select emeteur from chat,liste_noir where
liste_noir.id_login='$idlogin' and liste_noir.id_login_n=chat.emeteur)
order by chat.date_inv desc"
ce qui dit je doit la traduire en SQL du genre mais ca ne donne pas le même
resulta :
« select * from chat LEFT JOIN liste_noir ON
chat.emeteur!=liste_noir.id_login_n and chat.recepteur=liste_noir.id_login and
liste_noir.id_login='$idlogin' where '$idlogin'=chat.recepteur and
chat.etat_r!=1 order by chat.date_inv desc »
Alors si quelqu'un peut la traduire je lui serai très reconnaissant
Merci d'avance