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)

Interpersonal Skills

Q&A for people looking to improve their interpersonal communication skills

DECLARE @UserId int = ##UserId##
   '<li><a href=http://stackoverflow.com/questions/'       
      + CAST(p.Id AS NVARCHAR(13)) + '>'+p.Title+'</a>'
  FROM Users u
  LEFT JOIN Votes v ON u.Id = v.UserId
  LEFT JOIN Posts p ON p.Id = v.PostId
  where u.Id = @UserId

Enter Parameters

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