Query: SELECT topic_id from qtm_topicname where value= and type_id=22 group by topic_id having count(topic_id)=1;
Response: 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 type_id=22 group by topic_id having count(topic_id)=1' at line 1
Errorcode: 1064