Jump to content

multiple LEFT JOIN HELP


dflow

Recommended Posts

this works

SELECT *
FROM apartments
LEFT JOIN country_list ON apartments.COUNTRY_ID = country_list.CountryID
WHERE apartments.ID =4201

 

 

this doesnt

SELECT *
FROM apartments
LEFT JOIN country_list ON apartments.country_ID = country_list.CountryID,
LEFT JOIN city_list ON apartments.city_id = city_list.CityID
WHERE apartments.ID =4201

 

i want to add several more left joins

Link to comment
https://forums.phpfreaks.com/topic/228307-multiple-left-join-help/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.