SELECT Top 50 Id AS [User Link], ( SELECT COUNT(*) FROM P...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Emacs

Q&A for those using, extending or developing Emacs

SELECT Top 50
    Id AS [User Link],
    (
        SELECT COUNT(*) FROM PostHistory
        WHERE
            -- UserId = Users.Id AND
            UserId = 4228 AND
            PostHistoryTypeId = 3
    ) AS TotalEdits
    FROM Users
    ORDER BY TotalEdits DESC

Enter Parameters

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