123

0

Please login or register to vote for this query.

(click on this box to dismiss)

Mythology Meta

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')
    )

Enter Parameters

Options:
Switch to main site
loading Hold tight while we fetch your results