Active users

0

Please login or register to vote for this query.

(click on this box to dismiss)

Vegetarianism

Q&A for those committed to a vegan or vegetarian lifestyle and anyone interested in learning more

SELECT Month = DATEADD(MONTH, DATEDIFF(MONTH, 0, Posts.CreationDate), 0),
       'Active users' = COUNT(distinct OwnerUserId)
FROM Posts
INNER JOIN Users
ON Posts.OwnerUserId = Users.Id
GROUP BY DATEADD(MONTH, DATEDIFF(MONTH, 0, Posts.CreationDate), 0)
ORDER BY Month

Enter Parameters

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