Mariadb v10.1.8-MariaDB似乎拒绝了多个子句中的括号。相同的sql在5.5.44-MariaDB和MySQL 5.5.39中工作 我做了些蠢事吗?
SELECT
acdd_studentprogrammes.STU_ID,
acdd_studentprogrammes.Stage,
acdd_stages.StageType,
acdd_fte_values.FT_PT,
acdd_fte_values.FTE_Value
FROM
(acdd_studentprogrammes
INNER JOIN acdd_stages ON acdd_studentprogrammes.Stage = acdd_stages.Stage)
LEFT JOIN acdd_fte_values ON acdd_studentprogrammes.FT_PT = acdd_fte_values.FT_PT;