SQL code?select * from ( (SELECT t.*, f.name FROM threads t, forums f where f.fid=t.fid id=10000)union all(SELECT t.*, f.name FROM threads t, forums f ORDER BY t.dateline DESC LIMIT 0, 10)) torder by id=10000 desc,datelineDESC LIMIT 0, 10