Uzdevums 1

0

Please login or register to vote for this query.

(click on this box to dismiss)

Artificial Intelligence

Q&A for people interested in conceptual questions about life and challenges in a world where "cognitive" functions can be mimicked in purely digital environment

SELECT TOP 10 
    Tags,
    Tag_Amount
FROM (
    SELECT Tags,
           LEN(Tags) - LEN(REPLACE(Tags, ' ', '')) + 1 AS Tag_Amount
    FROM (
        SELECT Tags, 
               COUNT(DISTINCT Id) AS Tag_Amount
        FROM Posts
        GROUP BY Tags
    ) AS TagCounts
) AS FilteredTags
WHERE Tag_Amount = 2
ORDER BY Tag_Amount DESC;

Enter Parameters

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