Q&A for ebook publishers and readers
select PostId as [Post Link], CloseReasonTypeId, count(*) from PendingFlags group by PostId, CloseReasonTypeId