select top 30, u.displayname, u.reputation, count(*)...


Please login or register to vote for this query.

(click on this box to dismiss)

Craft CMS Meta

Q&A about the site for administrators, end users, developers and designers for Craft CMS

-- Enter Query Title
-- Enter Query Description
select top 30, u.displayname, u.reputation, count(*) edits
from users u
inner join posthistory ph on ph.userid =
inner join posts p on ph.postId =
where ph.PostHistoryTypeId >= 4
 and ph.PostHistoryTypeId <= 6
 and p.OwnerUserId <> ph.UserId
group by, u.displayname, u.reputation
order by edits desc

Enter Parameters

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