Show users who marked a as "favorites", and which posts they marked
for all questions of a certain user
Q&A for professional and enthusiast programmers
-- Who Favorited My Question?
-- Show users who marked a as "favorites", and which posts they marked...
select votes.userid as [User], posts.id as [Post]
from votes join posts on posts.id = votes.postid
posts.PostTypeId = 1 and
posts.OwnerUserId = ##User##