who downvote me?

0

Please login or register to vote for this query.

(click on this box to dismiss)

Christianity

Q&A for committed Christians, experts in Christianity and those interested in learning more

SELECT v.UserId, u.DisplayName, vt.Name, COUNT(*) as [count]
   FROM 
     Posts p
       INNER JOIN Votes v
         ON v.PostId = p.Id
       LEFT JOIN VoteTypes vt
         ON v.VoteTypeId = vt.Id
       LEFT JOIN Users u
         ON v.UserId = u.Id
  WHERE
     u.DisplayName = 'Chunhunghan'
  GROUP BY 
    vt.Name, v.UserId, u.DisplayName
  ORDER BY count

Enter Parameters

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