Which votes did I gave?

0

Please login or register to vote for this query.

(click on this box to dismiss)

Give me a list of votes I casted.

Genealogy and Family History Meta

Q&A about the site for expert genealogists and people interested in genealogy or family history

-- Which votes did I gave?
-- Give me a list of votes I casted.

DECLARE @UserId int = ##UserId##

SELECT
    Votes.PostID,
    Votes.BountyAmount,
    Posts.Title
FROM 
    Votes
    INNER JOIN Posts ON Posts.ID = Votes.postID
WHERE 
    Votes.UserId = @UserId

Enter Parameters

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