Question States over Time (Percent)

0

Please login or register to vote for this query.

(click on this box to dismiss)

TeX - LaTeX

Q&A for users of TeX, LaTeX, ConTeXt, and related typesetting systems

WITH Batches AS (
SELECT
  DATEADD(mm, DATEPART(mm, Post.CreationDate)-1, DATEADD(yy, DATEPART(yyyy, Post.CreationDate)-1900, 0)) as [Date],
  COUNT(*) as Total,
  SUM(CASE when Post.LastEditorUserId is not null then 1 else 0 END) as [Edited]
FROM
  PostsWithDeleted as Post
GROUP BY
  DATEPART(yyyy, Post.CreationDate),
  DATEPART(mm, Post.CreationDate)
)
  
SELECT
  [Date],
  Total,
  Edited
FROM Batches
ORDER BY Date;

Enter Parameters

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