SQL Error: select u.attachment as titlepic,ui.subject as title,u.tid as id,ui.author as ftitle from (select * from pre_forum_attachment_0 union all select * from pre_forum_attachment_1 union all select * from pre_forum_attachment_2 union all select * from pre_forum_attachment_3 union all select * from pre_forum_attachment_4 union all select * from pre_forum_attachment_5 union all select * from pre_forum_attachment_6 union all select * from pre_forum_attachment_7 union all select * from pre_forum_attachment_8 union all select * from pre_forum_attachment_9 ) u LEFT JOIN pre_forum_thread ui ON u.tid=ui.tid where fid=75 order by ui.tid DESC limit 2
SQL Error: select tid,subject,fid,dateline from pre_forum_thread where fid=75 order by dateline desc limit 7