WITH ReactPosts AS ( SELECT Body FROM Posts WHERE PostTyp...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Webmasters

Q&A for pro webmasters

WITH ReactPosts AS (
    SELECT
        Body
    FROM
        Posts
    WHERE
        PostTypeId = 1 -- Only questions
        AND CreationDate >= '2020-02-01'
        AND CreationDate <= '2020-03-01'
        AND Tags LIKE '%<reactjs>%' -- Posts tagged with reactjs
)
SELECT TOP 100
    Word,
    COUNT(*) AS Occurrences
FROM
(
    SELECT
        value AS Word
    FROM
        ReactPosts
        CROSS APPLY STRING_SPLIT(LOWER(Body), ' ') -- Splitting body into words
) AS Words
GROUP BY
    Word
ORDER BY
    COUNT(*) DESC;

Enter Parameters

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