Database: codebase_community
Question: Calculate the average view count of each post tagged as 'humor' and list the title and the comment of each post.
SQL: SELECT AVG(T2.ViewCount), T2.Title, T1.Text FROM comments AS T1 INNER JOIN posts AS T2 ON T2.Id = T1.PostId  WHERE T2.Tags = '<humor>' GROUP BY T2.Title, T1.Text