下面的查询在转储查询时返回bool(false):
SELECT *
FROM `account`
LEFT OUTER JOIN `player` ON `account`.`uid` = `player`.`account_uid`
UNION
RIGHT OUTER JOIN `player` ON `account`.`uid` = `player`.`account_uid`我知道如果查询返回false,那么SQL就是错误的,但是我确信语法是正确的,我甚至在我的控制台和phpMyAdmins SQL工具上成功地运行了它。
如果我运行它时没有
LEFT OUTER JOIN `player` ON `account`.`uid` = `player`.`account_uid`
UNION
RIGHT OUTER JOIN `player` ON `account`.`uid` = `player`.`account_uid`一切正常。
我的查询有什么问题?
提前谢谢。
https://stackoverflow.com/questions/38341120
复制相似问题