Q&A about the site for enthusiasts and scholars of mythology and folklore
SELECT COUNT(*) AS TotalQuestions, COUNT(DISTINCT a.Id) AS QuestionsWithAnswers FROM Posts q LEFT JOIN Posts a ON q.Id = a.ParentId AND a.PostTypeId = 2 -- 2 indicates answers WHERE q.PostTypeId = 1 -- 1 indicates questions AND q.CreationDate >= '2022-01-01' AND q.Id IN ( SELECT PostId FROM PostTags WHERE TagId = (SELECT Id FROM Tags WHERE TagName = 'activemq-artemis') )