My Supporters

0

Please login or register to vote for this query.

(click on this box to dismiss)

Economics

Q&A for those who study, teach, research and apply economics and econometrics

/* 1Question2Answer3Wiki4TagWikiExcerpt5TagWiki6ModeratorNomination */

SELECT TOP 10
    q.Body,
    v.Id,
    v.UserId
FROM
    Posts q
        INNER JOIN Votes v ON v.PostId = q.Id
        --INNER JOIN Users u ON v.Id = v.UserId
WHERE
    q.OwnerUserId = 77004 AND
    q.PostTypeId = 2 AND
    v.VoteTypeId = 2
    
    /* 2 = up, 3 = down */

Enter Parameters

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