SELECT u.Id AS UserId, u.Reputation FROM Users u JOIN Pos...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Meta Stack Exchange

Q&A for meta-discussion of the Stack Exchange family of Q&A websites

SELECT
    u.Id AS UserId,
    u.Reputation
FROM
    Users u
JOIN
    Posts p ON u.Id = p.OwnerUserId
WHERE
    p.PostTypeId = 2  -- PostTypeId = 2 indicates that the post is an answer
    AND u.Id NOT IN (
        SELECT OwnerUserId
        FROM Posts
        WHERE PostTypeId = 1  -- PostTypeId = 1 indicates that the post is a question
    )
GROUP BY
    u.Id, u.Reputation
HAVING
    COUNT(p.Id) > 10
ORDER BY
    u.Reputation DESC;

Enter Parameters

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