Version 5.5 multiple table join syntax
I am pretty new to MySQL, using v5.5. Have inherited an application that I am modifying and completing. I have a view that is working, but I need to add a fields from a third table. I got this syntax from the MySQL site on version 5.5:
join `reserve_inspectors`,`reserve_companies` on((`reserve_reports`.`INSPECTOR_ID_FK` = `reserve_inspectors`.`INSPECTOR_ID` AND `reserve_reports`.`COMPANY_ID_FK` = `reserve_companies`.`COMPANY_ID`)))
The reserve_inspector join was there and working, am trying to add the rreserve_companies table. But this keeps throwing a syntax error.
Thanks,
Todd
Subject
Written By
Posted
Version 5.5 multiple table join syntax
April 14, 2014 08:03AM
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.