2011-03-10 85 views

回答

1

我终于自己找到了答案。

可以使用注释“xid”作为“post_id”查询“like”表。

SELECT post_id, user_id FROM like WHERE post_id = <comment xid>