MySQL Forums
Forum List  »  Performance

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
380
December 05, 2016 09:43AM
Re: Select Query and Two Tables
320
December 05, 2016 11:01AM
211
December 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.