should be it

This commit is contained in:
2025-10-24 19:21:19 -05:00
parent a4b23fc57c
commit f09560c7b1
14047 changed files with 3161551 additions and 1 deletions

View File

@@ -0,0 +1,9 @@
WITH RECURSIVE chain(parent, child) as(
SELECT m_c_replyof, m_messageid FROM message where m_messageid = 687194767741
UNION ALL
SELECT p.m_c_replyof, p.m_messageid FROM message p, chain c where p.m_messageid = c.parent
)
select f_forumid, f_title, p_personid, p_firstname, p_lastname
from message, person, forum
where m_messageid = (select coalesce(min(parent), 687194767741) from chain)
and m_ps_forumid = f_forumid and f_moderatorid = p_personid;