Who Favorited My Questions?

16

Please login or register to vote for this query.

(click on this box to dismiss)

Show users who marked a as "favorites", and which posts they marked for all questions of a certain user

Drupal Answers Meta

Q&A about the site for Drupal developers and administrators

-- Who Favorited My Question?
-- Show users who marked a as "favorites", and which posts they marked...
select votes.userid as [User Link], posts.id as [Post Link] 
from votes
  join posts on posts.id = votes.postid 
where
  votetypeid=5 and
  posts.PostTypeId = 1 and
  posts.OwnerUserId = ##UserId##

Enter Parameters

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