Upvotes/downvotes on questions by "newish" users

0

Please login or register to vote for this query.

(click on this box to dismiss)

MathOverflow

Q&A for professional mathematicians

SELECT
  SUM(Case When (v.VoteTypeId=2) Then 1 Else 0 End),
  SUM(Case When (v.VoteTypeId=3) Then 1 Else 0 End)
FROM Votes v INNER JOIN Posts q ON v.PostId=q.Id
INNER JOIN Users u ON q.OwnerUserId=u.Id
WHERE (q.PostTypeId=1)
  AND (DATEDIFF(day, u.CreationDate, q.CreationDate)<=##days?100##)

Enter Parameters

Options:
Switch to meta site
loading Hold tight while we fetch your results