MySQL Forums
Forum List  »  Newbie

Re: inner join with null values
Posted by: Peter Brawley
Date: September 13, 2016 11:45AM

Unclear. You wat all employees, and phone values joined on id even where they're null? That would be ...

select e.id,e.address,p.phone
from employee e
left join phone p using(id);

Options: ReplyQuote


Subject
Written By
Posted
September 13, 2016 09:50AM
Re: inner join with null values
September 13, 2016 11:45AM


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.