Posts with most closures

0

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

SELECT PostId as [Post Link], SUM(1) as NumClosures FROM PostHistory
WHERE PostHistoryTypeId = 10
GROUP BY PostId
HAVING SUM(1) > 4
ORDER BY NumClosures DESC

Enter Parameters

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