Most viewed questions in a tag


Please login or register to vote for this query.

(click on this box to dismiss)

Show top 2000 posts by ViewCount in a tag

Craft CMS Meta

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

SELECT DISTINCT( as [Post Link], p2.ViewCount 
FROM Posts as p1
JOIN Posts p2 ON p1.ParentId = p2.Id
WHERE p1.OwnerUserId = ##UserId## or p2.OwnerUserId = ##UserId##
ORDER BY p2.ViewCount DESC

Enter Parameters

Switch sites:
loading Hold tight while we fetch your results