ratio of questions to answers


Please login or register to vote for this query.

(click on this box to dismiss)

Craft CMS Meta

Q&A about the site for administrators, end users, developers and designers for Craft CMS

SELECT CAST(ABS(SUM(Posts.PostTypeId - 2)) AS FLOAT) / CAST(SUM(Posts.PostTypeId -1) AS FLOAT) AS ratio
FROM Users
LEFT JOIN Posts on Posts.OwnerUserId = Users.Id

Enter Parameters

Switch sites:
loading Hold tight while we fetch your results