Votes by user-id

0

Please login or register to vote for this query.

(click on this box to dismiss)

Interpersonal Skills

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

DECLARE @UserId int = ##UserId##
    Select 
       '<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

Options:
Switch sites:
loading Hold tight while we fetch your results