Yes, that query will work for the forums table as well.