An Error Was Encountered
Error Number: 1064
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 'AND options.status = 1 AND options.options_id ' at line 13
SELECT options.*, options_types.title as option_type, options_types.field_type as field_type FROM options INNER JOIN options_types USING (options_types_id) WHERE options.makes_id = AND options.status = 1 AND options.options_id NOT IN (SELECT options_id FROM options_excluded_models WHERE models_id = 89) ORDER BY options_types.display,options.options_id