Test Query


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,
FROM posts p
JOIN users u
ON p.OwnerUserId = u.Id
JOIN PostHistory ph
ON p.Id = ph.PostId
JOIN PostHistoryTypes pht
ON ph.PostHistoryTypeId = pht.Id
WHERE u.CreationDate >= '2016-01-01' and (PostTypeId = 1 or PostTypeId = 2)
ORDER BY u.CreationDate

Enter Parameters

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