select t.topic_id, t.forum_id, t.topic_title, t.topic_time, t.topic_views, t.topic_replies, t.user_id, u.username, pt.post_text
from jforum_topics t, jforum_users u, jforum_posts p, jforum_posts_text pt
where t.user_id = u.user_id
and t.topic_id = p.topic_id
and p.post_id = pt.post_id
and t.topic_time > '2021-01-01'
and p.post_id = t.topic_first_post_id
select t.topic_id, t.forum_id, t.topic_title, p.post_time, p.user_id, u.username, pt.post_text
from jforum_topics t, jforum_posts p, jforum_posts_text pt, jforum_users u
where t.user_id = u.user_id
and t.topic_id = p.topic_id
and p.post_id = pt.post_id
and p.post_time > '2021-01-01'
and p.post_id <> t.topic_first_post_id