Upvoted posts for UserId with certain tag


Please login or register to vote for this query.

(click on this box to dismiss)

Load all posts a certain user upvoted and filter by tag (tag1)

Audio-Video Production Meta

Q&A about the site for engineers, producers, editors, and enthusiasts spanning the fields of video, and media creation

SELECT Count(*)
FROM Users u
   JOIN Posts p ON p.owneruserid = u.id
   JOIN PostTags pt ON pt.PostId = p.Id
   JOIN Tags t  ON t.Id = pt.TagId
WHERE u.Id = ##UserId##
     AND t.TagName in 

Enter Parameters

Switch sites:
loading Hold tight while we fetch your results