ms-access Post Count By Month

0

Please login or register to vote for this query.

(click on this box to dismiss)

Genealogy and Family History Meta

Q&A about the site for expert genealogists and people interested in genealogy or family history

SELECT
    datepart(YEAR,CreationDate) as Year,
    datepart(MONTH,CreationDate) as Month,
    SUM(ViewCount) as Total
FROM
    Posts
WHERE
    PostTypeId = 1
    AND (Tags LIKE '%apache-kafka%' OR
    Tags LIKE '%confluent%')
GROUP BY
    datepart(YEAR,CreationDate),
    datepart(MONTH,CreationDate)
ORDER BY
    datepart(YEAR,CreationDate),
    datepart(MONTH,CreationDate)

Enter Parameters

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