This is my problem query:
SELECT routes.routeid, depart.depart, arrive.arrive FROM arrive, depart, routes INNER JOIN ( depart INNER JOIN routes ON depart.departid = routes.departid ) ON arrive.arriveid = routes.arriveid WHERE ( ( ( routes.routeid ) = 1 ) )
Though it comes up as an error, here is what MySQL said:
You have an error in your SQL syntax near '( depart INNER JOIN routes ON depart.departid = routes.departid ) ON arrive.arr' at line 1
Got any ideas on how I could fix the Query? Thanx