1064: SELECT f.s_title,f.slug,f.s_id FROM addedfilters added USE INDEX(pc,s_id,fid) inner join filters f ON added.s_id=f.s_id WHERE added.f_id= AND added.category=5004 group by f.s_id
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 added.category=5004 group by f.s_id' at line 3