SELECT c.PostId AS [Post ID], c.Id AS [Comment ID], p.Tit...

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
    c.PostId AS [Post ID],
    c.Id AS [Comment ID],
    p.Title AS [Post Title],
    p.CreationDate AS [Post Creation Time],
    c.UserId AS [User ID],
    c.Text AS [Comment Text],
    c.Score AS [Comment Score],
    c.CreationDate AS [Comment Creation Time],
    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]
FROM
    Comments c
JOIN
    Posts p ON c.PostId = p.Id
JOIN
    Users u ON c.UserId = u.Id
WHERE
    c.CreationDate >= '2024-04-01' AND c.CreationDate < '2024-04-08'
    AND p.CreationDate < '2024-04-01'
ORDER BY
    c.CreationDate;

Enter Parameters

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