Q&A for those interested in the geology, meteorology, oceanography, and environmental sciences
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 (46926,463115,659804,56285,719186,44852,26457,40516,66686,1453822,927034,1612975,8073652,330644,2413303,47550,5422,912,632337,38765,41543,228171,784588,6010,8016720,24039,258523,718618,363751,1190388,180286,2976878,680925,11465,7495930,248432,471272,139746,9449426,127320,2985303,54017,844416,297641,203130,107409,722783,214790,297696,2128947,1081110,20789,8279,45654,5638630,13989,166067,2844319,1828879,492336,457352,584192,257942,295264,20074,119549,169992,9611,366377,1457051,468793,13321647,712603,6340,774116,697630,34218,854246,8992,9236,483779,44309,732945,571194,156142,729881,1785,1343,417194,1630,1786,2071807,2138,249991,8380272,1631379,183172,353802,2556117,4785185) ) 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;