I have this query:
SELECT *, default_insurance.company AS company
FROM (default_insurance)
JOIN default_gruppe_rel
ON default_gruppe_rel.uid = default_insurance.uid
JOIN default_profiles
ON default_insurance.uid = default_profiles.id
WHERE `kontakt` = '1'
Now I get a resultset from that, but If I want to get results where there are not join matches , and only change this query by changing the first join type to FULL like this
SELECT *, default_insurance.company AS company
FROM (default_insurance)
FULL JOIN default_gruppe_rel
ON default_gruppe_rel.uid = default_insurance.uid
JOIN default_profiles
ON default_insurance.uid = default_profiles.id
WHERE `kontakt` = '1'
I get an error saying: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FULL JOIN default_gruppe_rel ON default_gruppe_rel.uid = default_insurance.uid J' at line 1
why is that? is the FULL JOIN unkown to my MYSQL version? Has it been deprecated?