MySQL Forums
Forum List  »  French

Aide pour requête
Posted by: Yves Bruant
Date: February 08, 2007 01:55PM

Bonsoir,

Etant donné une table tA qui contient un champ idA et
une autre table tB qui contient un champ idB

comment écrire la requête qui m'extraie les records de tA dont le champ idA N'A PAS de correspondance dand le champ idB de tB

évidemment, avec SELECT * FROM tA WHERE TA.idA NOT IN (SELECT idb FROM tB)
ça le ferait avec toutes les bases, mais pas mySql.

Comment faire ?

Merci pour le coup de main

Options: ReplyQuote


Subject
Views
Written By
Posted
Aide pour requête
3893
February 08, 2007 01:55PM
3094
February 08, 2007 03:00PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.