Find My Fans

22

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.

Health Meta

Q&A about the site for professionals in medical and allied health fields, students of those professions, related academics, and others with a sound understanding of medicine and healthcare-related sciences

-- Fan Finder
-- Find the users who have marked my questions as favorites.

declare @UserId int = ##UserId##

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

Enter Parameters

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