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