POST

0

Please login or register to vote for this query.

(click on this box to dismiss)

Earth Science

Q&A for those interested in the geology, meteorology, oceanography, and environmental sciences

WITH PostBatch AS (
    SELECT
        p.Id AS PostId,
        p.Title,
        p.Body,
        p.OwnerUserId AS UserId,
        u.DisplayName,
        t.TagName,
        u.Location,
        ROW_NUMBER() OVER (PARTITION BY p.OwnerUserId ORDER BY p.CreationDate DESC) AS PostRowNum
    FROM Posts p
    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 LOWER(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
    p.PostId,
    p.Title AS PostTitle,
    p.Body AS PostBody,
    p.UserId,
    P.DisplayName AS UserName,
    p.Location AS UserCountry,
    p.TagName AS PostTag
FROM PostBatch p
WHERE p.PostRowNum BETWEEN 1 AND 500;

Enter Parameters

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