Q&A for those committed to a vegan or vegetarian lifestyle and anyone interested in learning more
WITH CommentBatch AS ( SELECT c.Id AS CommentId, c.Text, p.Title, p.OwnerUserId AS UserId, u.DisplayName, u.Location, t.TagName, ROW_NUMBER() OVER (PARTITION BY p.Id ORDER BY c.CreationDate DESC) AS CommentRowNum FROM Comments c INNER JOIN Posts p ON c.PostId = p.Id INNER JOIN Users u ON p.OwnerUserId = u.Id INNER JOIN PostTags pt ON p.Id = pt.PostId INNER JOIN Tags t ON pt.TagId = t.Id WHERE t.TagName IN ('python', 'java', 'csharp', 'php', 'javascript', 'go', 'swift') -- Programming languages filter AND p.OwnerUserId IN (1384652,149080,12983,184883,256970,150634,21632,13792,714968,1000343,370305,18511,108205,2411802,106159,4105,32880,25324,273200,241631,25222,67392,304,282848,861716,445517,135786,210578,428790,16363,107744,466862,29,205608,846273,2140,15245,44084,573261,238886,387076,95612,74757,1422451,314291,1104384,41360,98607,25449,348545,128511,214010,82320,2483313,91914,1229023,188246,8815,13055,2455888,142434,179125,410767,2442099,776560,7595,411591,75642,1686485,191596,80860,3250829,130758,75500,5423108,1285133,24054,5185595,104458,6461,377270,17279,16632,45664,15861,1811992,12725,16957,4482,370103,98046,107049,27439,164299,392,298607,1426065,1001985,2214,44984) ) SELECT cb.CommentId, cb.Title AS CommentTitle, cb.Text AS CommentText, cb.UserId, cb.DisplayName AS UserName, cb.Location AS UserCountry, cb.TagName AS CommentTag FROM CommentBatch cb WHERE cb.CommentRowNum BETWEEN 1 AND 500;