Ratio of Community Wiki to Non-Community Wiki Questions

1

Please login or register to vote for this query.

(click on this box to dismiss)

Physical Fitness Meta

Q&A about the site for physical fitness professionals, athletes, trainers, and those providing health-related needs

SELECT 
(SELECT COUNT(ID) FROM POSTS WHERE PostTypeId = 1 AND AnswerCount > 0 AND CommunityOwnedDate IS NULL) AS Non_Community_Count,
(SELECT COUNT(ID) FROM POSTS WHERE PostTypeId = 1 AND AnswerCount > 0 AND CommunityOwnedDate IS NOT NULL) AS Community_Count,
(SELECT CONVERT(FLOAT, COUNT(ID)) FROM POSTS WHERE PostTypeId = 1 AND AnswerCount > 0 AND CommunityOwnedDate IS NOT NULL)
/
(SELECT COUNT(ID) FROM POSTS WHERE PostTypeId = 1 AND AnswerCount > 0 AND CommunityOwnedDate IS NULL)
AS Ratio

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results