Test Query

0

Please login or register to vote for this query.

(click on this box to dismiss)

German Language Meta

Q&A about the site for speakers of German wanting to discuss the finer points of the language and translation

SELECT DISTINCT TOP(10) p.Id, p.OwnerUserId, p.PostTypeId, p.AcceptedAnswerId, p.ParentId, p.CreationDate, 
p.DeletionDate, p.Score, p.ViewCount, p.Body, p.AnswerCount, p.CommentCount, p.ClosedDate, 
ph.PostHistoryTypeId, ph.CreationDate,
u.Reputation,u.CreationDate,u.DisplayName,u.LastAccessDate,u.Location,u.AboutMe,
u.Views,u.UpVotes,u.DownVotes,u.AccountID
FROM posts p
JOIN users u
ON p.OwnerUserId = u.Id
JOIN PostHistory ph
ON p.Id = ph.PostId
WHERE u.CreationDate >= '2016-01-01' and (PostTypeId = 1 or PostTypeId = 2)
ORDER BY u.CreationDate

Enter Parameters

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