SQL 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 '' at line 2
Query: select count(*) from answer a,question b where a.question_id=b.id and b.status='resolved' and a.best_answer=1 and a.user_id =