Q&A for professional and amateur woodworkers
WITH Posts_HTML_CSS as ( SELECT DISTINCT ptag.PostId FROM PostTags ptag Inner Join Tags tag ON tag.Id = ptag.TagId WHERE UPPER(tag.TagName) in ('HTML','CSS') ) SELECT Top 10 COALESCE(pst.Title, 'N/A') as Title ,MAX(pst.AnswerCount) as NumberOfAnswers FROM Posts pst Inner Join Posts_HTML_CSS phc ON phc.PostId = pst.Id GROUP BY COALESCE(pst.Title, 'N/A') ORDER BY 2 DESC ;