SELECT p.Id AS [Post ID], p.Title AS [Post Title], p.Body...

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
    p.Id AS [Post ID],
    p.Title AS [Post Title],
    p.Body AS [Post Body],
    p.Tags AS [Post Tags],
    p.CreationDate AS [Post Creation Time],
    p.Score AS [Post Score],
    p.ViewCount AS [Post View Count],
    p.AnswerCount,
    p.CommentCount,
    p.FavoriteCount,
    p.ContentLicense AS [Post Content License],
    u.Id AS [User ID],
    u.Reputation AS [User Reputation],
    u.DisplayName AS [User Display Name],
    u.Location AS [User Location],
    u.Views AS [User Views],
    u.UpVotes AS [User Upvotes],
    u.DownVotes AS [User Downvotes],
    c.Id AS [Comment ID],
    c.Text AS [Comment Text],
    c.Score AS [Comment Score],
    c.CreationDate AS [Comment Creation Time]
FROM
    Posts p
JOIN
    Users u ON p.OwnerUserId = u.Id
LEFT JOIN
    Comments c ON p.Id = c.PostId
WHERE
    (p.Tags LIKE '%python%'
    OR p.Tags LIKE '%javascript%'
    OR p.Tags LIKE '%java%'
    OR p.Tags LIKE '%php%'
    OR p.Tags LIKE '%programming-language%')
    AND p.CreationDate >= '2024-04-01'
    AND p.CreationDate < '2024-04-08'
ORDER BY
    p.CreationDate DESC, c.CreationDate DESC;

Enter Parameters

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