Who downvoted?

0

Please login or register to vote for this query.

(click on this box to dismiss)

Data Science

Q&A for Data science professionals, Machine Learning specialists, and those interested in learning more about the field

SELECT vt.Id, v.UserId, vt.Name, COUNT(*)
   FROM 
     Posts p
       INNER JOIN Votes v
         ON v.PostId = p.Id
       INNER JOIN VoteTypes vt
         ON v.VoteTypeId = vt.Id
  WHERE
     --p.OwnerUserId = 8573097
     --and
     p.Id = 48635850
  GROUP BY 
   vt.Id, vt.Name, v.UserId
  ORDER BY 2,3

Enter Parameters

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