What is wrong with this section of sql and how to solve it?

(SELECT *
FROM `dozhan_reply` t1
WHERE `reply_parent` IN (
    SELECT `reply_id`
    FROM (
        SELECT `reply_id`
        FROM `dozhan_reply`
        WHERE `reply_article` = 69
            AND `reply_type` = 0
        LIMIT 0, 5
    ) t
))
UNION
(SELECT *
FROM `dozhan_reply`
WHERE `reply_article` = 69
    AND `reply_type` = 0
LIMIT 0, 5)
UNION
SELECT DISTINCT b1.reply_user, b2.avatar_link
FROM `dozhan_reply` b1, `dozhan_user` b2
WHERE `reply_article` = 69
    AND b1.reply_user = b2.username


solve, do not understand, grammar is not a problem?

Mar.12,2021

reason: no database
solution:
1. Use: select dbname;
2 on the command line. The database used by the project should be configured in the code;

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-1e884ae-ecb.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-1e884ae-ecb.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?