ratio of questions to answers

0

Please login or register to vote for this query.

(click on this box to dismiss)

Raspberry Pi

Q&A for users and developers of hardware and software for Raspberry Pi

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

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