Rust questions per day averaged over weeks

0

Please login or register to vote for this query.

(click on this box to dismiss)

Reverse Engineering Meta

Q&A about the site for researchers and developers who explore the principles of a system through analysis of its structure, function, and operation

SELECT --TOP 20 
   --DATEPART(week, Posts.CreationDate)
   --CONVERT(date, Posts.CreationDate),
   MIN(Posts.CreationDate),
   COUNT(*) / 7.0 as 'posts per day'
 FROM Tags
    INNER JOIN PostTags ON PostTags.TagId = Tags.id
    INNER JOIN Posts ON Posts.Id = PostTags.PostId
WHERE 
    Tags.tagname = 'godot' 
  GROUP BY DATEPART(week, Posts.CreationDate), DATEPART(year, Posts.CreationDate)
  ORDER BY MIN(Posts.CreationDate)

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results