I have the following sql which queries a database and pulls out the info from 4 different tables.
SELECT d.item AS day, m.item as month, y.item as yr, l.item as local
FROM date_day d
JOIN date_month m ON d.recid=m.recid
JOIN date_year y ON d.recid=y.recid
JOIN location l ON d.recid=l.recid
WHERE d.recid='cneta0ld00s6'
Its possible that one or more of those tables might empty and not contain a value. Particularly on the date fields. Will any of the above being empty or not existing, cause the whole thing to fail? Im particularly worried about date_day as I know mysql doesnt have a FUll JOIN.
Any thoughts?
locationthe one table that will always have a record and then thedatetables might be empty?