Users with most bookmarks from me

0

Please login or register to vote for this query.

(click on this box to dismiss)

Emacs

Q&A for those using, extending or developing Emacs

SELECT TOP(##num?100##)
  p.OwnerUserid as [User Link], p.OwnerDisplayName, 
  COUNT(p.Id) AS [Count]
FROM Posts p INNER JOIN Votes v ON p.Id=v.PostId
WHERE (v.UserId=##userid##) AND (v.VoteTypeId=5)
GROUP by p.OwnerUserid, p.OwnerDisplayName 
ORDER BY COUNT(p.Id) DESC

Enter Parameters

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