Mysql query comment question

has user table



problem description

Ten pieces of data can be queried with one statement, according to the post. The data includes the user information of the post and the user information of the commentator. How should I write

Jun.08,2021

SELECT * FROM talk_item
LEFT JOIN first_comment ON talk_item.tid=first_comment.tid
LEFT JOIN user ON talk_item.uid=user.uid
LEFT JOIN user ON first_comment.uid=user.uid
[filter criteria for WHERE posts] LIMIT 10

Menu