Are you able to identify and select posts from their forum and timestamps?
If so you could use something like:
Code:
select top 5
subf_id, max(datetime) from posts
group by subf_id
order by max(datetime) desc
And then reference each post by it's sub_form_id and datetime stamp - this way you'll get the 5 most recent postings for each distinct sub_forum