MySQL Forums
Forum List  »  Newbie

Re: Need help with join
Posted by: Peter Brawley
Date: February 28, 2014 10:25PM

Is this what you mean?

SELECT ...
FROM card c
JOIN driver d ON c.referred_as=d.referred_as
JOIN bridge b ON c.driver_id=b.driver_id AND d.card_id=b.card_id;

WHERE d.ID='$id'

Options: ReplyQuote


Subject
Written By
Posted
February 28, 2014 10:53AM
Re: Need help with join
February 28, 2014 10:25PM


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.