Hi All,
im trying to join to tables together have managed to get the correct responses with the following mysql select statement:
SELECT regatta_results_08.raceid, regatta_results_08.winningcrewid, regatta_results_08.loosingcrewid, regatta_crews_08.crewid, regatta_crews_08.club FROM regatta_crews_08
INNER JOIN regatta_results_08 ON regatta_crews_08.crewid = regatta_results_08.winningcrewid
The problem that i am having is that i want the join to also select from another column, so idealy it would be :
"INNER JOIN regatta_results_08 ON regatta_crews_08.crewid = regatta_results_08.winningcrewid OR regatta_results_08.loosingcrewid"
This however does not work.
Anybody got any ideas as to how to solve this issue?
Thanks,
James