Find top editors broken down by edit types

1

Please login or register to vote for this query.

(click on this box to dismiss)

The Workplace Meta

Q&A about the site for members of the workforce navigating the professional setting

select TOP 100
   count(case when ph.PostHistoryTypeId = 4 then 1 else null end) as Title,
   count(case when ph.PostHistoryTypeId = 5 then 1 else null end) as Body,
   count(case when ph.PostHistoryTypeId = 6 then 1 else null end) as Tags
from PostHistory ph
where 
  ph.PostHistoryTypeId in (4, 5, 6) and
  YEAR(ph.CreationDate) = 2024

Enter Parameters

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