Find My Fans

0

Please login or register to vote for this query.

(click on this box to dismiss)

Find the users who have marked my questions as favorites.

Web Applications

Q&A for power users of web applications

declare @UserId int = 4302

select top 200
  v.UserId as [User Link],
  count(*) as FavoriteCount,
  p.id as [Post Link]
from
  Votes v
join
  Posts p
on
  p.id = v.PostId
where
  p.OwnerUserId = @UserId
  and v.VoteTypeId = 5
group by v.UserId, p.id
order by FavoriteCount desc

Enter Parameters

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