MySQL Forums
Forum List  »  Newbie

Re: HOW TO search from three tables and get only matches as result
Posted by: evan carrish
Date: April 27, 2005 01:07PM

Not sure if this is exactly what you're looking for

select a.*, b.*, c.*
from event_wd a
Left Outer Join (events_wd b
Join event_his c On c.weekday = b.weekday)
On a.event_ID = b.event_ID
Where b.weekday = @weekday

I program SQL but mySQL looks very similar so this should work. If not try to tweak it a bit to convert it to mySQL

Options: ReplyQuote


Subject
Written By
Posted
Re: HOW TO search from three tables and get only matches as result
April 27, 2005 01:07PM


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.