Mysql error: 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 ') GROUP BY catalog_mods.ModelID' at line 1
Error code: 1064
Query: SELECT catalog_mods.ModelID, SUBSTRING_INDEX(GROUP_CONCAT(DISTINCT catalog_mods.ID), ',', 1) FROM catalog_mods INNER JOIN catalog_mods_params ON catalog_mods_params.ModID = catalog_mods.ID WHERE catalog_mods_params.ValID IN (6268,1992,8078) AND catalog_mods_params.ModelID IN () GROUP BY catalog_mods.ModelID