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)

Physics

Q&A for active researchers, academics and students of physics

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