A Database Error Occurred

Error Number:

ERROR: syntax error at or near "OR" LINE 1: ... = 'video' AND state = 'active' AND (category = OR floor(c... ^

SELECT id FROM t_materials WHERE t_materials.type = 'video' AND state = 'active' AND (category = OR floor(category/100) = ) ORDER BY state_date desc LIMIT 10