Can't execute query

select sub_cat_id, title, name, schoolname, city, attachment, message, tags, classname, attachment_flag, post_id from userposts where post_id  > '10124' and sub_cat_id = and (status = 'active' or status ='highlight') limit 0,1

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 'and (status = 'active' or status ='highlight') limit 0,1' at line 1

This script cannot continue, terminating.