SELECT v.UserId, vt.Name, COUNT(*) FROM Posts p INNER JOI...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Audio-Video Production Meta

Q&A about the site for engineers, producers, editors, and enthusiasts spanning the fields of video, and media creation

SELECT 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 = ##UserId##
  GROUP BY 
    vt.Name, v.UserId
  ORDER BY 1,3

Enter Parameters

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