SELECT TOP 20 Users.DisplayName, COUNT(*) AS UpVotes FROM...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Audio-Video Production Meta

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

SELECT TOP 20 
    Users.DisplayName,
    COUNT(*) AS UpVotes 
FROM Tags
    INNER JOIN PostTags ON PostTags.TagId = Tags.id
    INNER JOIN Posts ON Posts.ParentId = PostTags.PostId
    INNER JOIN Votes ON Votes.PostId = Posts.Id and VoteTypeId = 2
    inner join Users on Users.Id = Posts.OwnerUserId
WHERE 
    Tags.TagName in ('prism') and Posts.CreationDate > '2013-09-21 00:00:00.000'
    
    group by Users.DisplayName
    ORDER BY UpVotes DESC

Enter Parameters

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