MySQL Forums
Forum List  »  Newbie

Re: SELECT items in TABLE 1 but not in TABLE 2
Posted by: coke coke
Date: April 21, 2008 03:37AM

Thanks!

I used:

mysql> select user.id, user.email from user LEFT JOIN posta on user.id = posta.destid and posta.email = 7 where posta.id is null;


Thanks a lot!

Options: ReplyQuote


Subject
Written By
Posted
Re: SELECT items in TABLE 1 but not in TABLE 2
April 21, 2008 03:37AM


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.