When viewing the main list of forums presumably there's some kind of query that goes along the lines of "select f.name, f.description, f.postcount from forum f, forumaccess fa, user u where fa.forum=f.id and fa.user = u.id" (slightly more complex to take account of grouping and sequence but...