MySQL Forums :: Performance :: Select Query and Two Tables


Advanced Search

Re: Select Query and Two Tables
Posted by: Peter Brawley ()
Date: December 05, 2016 11:01AM

select firstname, surname, email, status
from b
left join a using(email)
where a.email is null;

Read about exclusion joins.

Options: ReplyQuote


Subject Views Written By Posted
Select Query and Two Tables 268 Steve Royle 12/05/2016 09:43AM
Re: Select Query and Two Tables 195 Peter Brawley 12/05/2016 11:01AM
Re: Select Query and Two Tables 158 Steve Royle 12/07/2016 05:05AM


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.