SELECT DATEPART(year, rtr.CreationDate) AS Year, DATEPAR...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Writing

Q&A for the craft of professional writing, including fiction, non-fiction, technical, scholarly, and commercial writing

-- Daily Review Statistics on Stack Overflow (January 2020 to January 2024)
-- This query returns the daily count of reviews completed.

SELECT
    DATEPART(year, rtr.CreationDate) AS Year,
    DATEPART(month, rtr.CreationDate) AS Month,
    DATEPART(day, rtr.CreationDate) AS Day,
    COUNT(DISTINCT rtr.Id) AS ReviewsCompleted
FROM
    ReviewTaskResults rtr
WHERE
    rtr.CreationDate BETWEEN '2020-01-01' AND '2024-01-01'
GROUP BY
    DATEPART(year, rtr.CreationDate),
    DATEPART(month, rtr.CreationDate),
    DATEPART(day, rtr.CreationDate)
ORDER BY
    Year,
    Month,
    Day;

Enter Parameters

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