3
That is complicated because the topic id is not stored in the comments table. That means that you would need to perform a join with the stories table on comments.com_itemid=stories.storyid, and another join for topics table on topics.topic_id=stories.topicid and to add a condition for topics.topic_id='topic to match'.