Question 5

0

Please login or register to vote for this query.

(click on this box to dismiss)

Language Learning

Q&A for students, teachers, polyglots, and anyone interested in the techniques of second-language acquisition

SELECT 
    STRING_AGG(t.TagId, ', ') AS Tags,
    COUNT(t.TagId) AS NumberofTags,
    p.Id AS PostId,
    p.OwnerUserId,
    p.Body AS PostBody
FROM 
    Posts p
JOIN 
    PostTags t ON p.Id = t.PostId
GROUP BY 
    p.Id, p.OwnerUserId, p.Body
HAVING 
    COUNT(t.TagId) >= 5

Enter Parameters

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