WITH q AS ( SELECT MAX(UserId) as UserId, COUNT(*) as Co...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Sports

Q&A for participants in team and individual sport activities

-- Enter Query Title
-- Enter Query Description

WITH q AS (
SELECT MAX(UserId) as UserId, COUNT(*) as CountRevisions
FROM PostHistory
WHERE PostHistoryTypeId=5
GROUP BY UserId
)

SELECT TOP 100 * FROM q ORDER BY CountRevisions DESC

Enter Parameters

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