SELECT
stc1.*
FROM (SELECT DISTINCT
comment_parent_id AS comment_id
FROM smd_theme_comment) as stc
JOIN smd_theme_comment stc1
ON stc.comment_id = stc1.comment_parent_id
SELECT
stc1.*
FROM (SELECT DISTINCT
comment_parent_id AS comment_id
FROM smd_theme_comment) as stc
JOIN smd_theme_comment stc1
ON stc.comment_id = stc1.comment_parent_id
© 著作权归作者所有