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

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1eafd86-4f75b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1eafd86-4f75b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?