The following query returns bool(false)
when dumping the query:
SELECT *
FROM `account`
LEFT OUTER JOIN `player` ON `account`.`uid` = `player`.`account_uid`
UNION
RIGHT OUTER JOIN `player` ON `account`.`uid` = `player`.`account_uid`
I know that if the query returns false there was an error with the SQL however I'm sure the syntax is correct, I even ran it successful in my console and on phpMyAdmins SQL tool.
If I run it without
LEFT OUTER JOIN `player` ON `account`.`uid` = `player`.`account_uid`
UNION
RIGHT OUTER JOIN `player` ON `account`.`uid` = `player`.`account_uid`
all is working.
What is the problem with my query?
Thanks in advance.