Can somebody point out why the following query fails?
SELECT
references_translations.language_id,
references_translations.active,
references_translations.title,
references_translations.slug,
references_translations.body,
references_translations.seo_title,
references_translations.seo_description,
references.*
FROM (references)
INNER JOIN references_translations ON references_translations.reference_id = references.id AND references_translations.language_id = 'nl'
WHERE `references_translations`.`active` = 1;
I cant see why this query keeps failing. Couldn't find if any of my table or column names are reserved by MySQL.
Any pointers in the right direction would be greatly appreciated. Thanks in advance.