User with the most post in a week

0

Please login or register to vote for this query.

(click on this box to dismiss)

SharePoint

Q&A for SharePoint enthusiasts

select
OwnerUserId,
count(*) as num_posts,
DATEPART(YEAR, CreationDate) as Week
from Posts
group by OwnerUserId, DATEPART(YEAR, CreationDate)
order by num_posts desc;

Enter Parameters

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