SELECT TOP 100 ph.UserId, ph.CreationDate As [Date], ph....

0

Please login or register to vote for this query.

(click on this box to dismiss)

Academia Meta

Q&A about the site for academics and those enrolled in higher education

-- Enter Query Title
-- Enter Query Description

SELECT TOP 100
  ph.UserId,
  ph.CreationDate As [Date],
  ph.PostHistoryTypeId,
  p.Id, p.Body
FROM PostHistory ph
INNER JOIN Posts p ON ph.PostId = p.Id
--INNER JOIN Tags t ON ph.PostId = t.Id
WHERE p.PostTypeId = 3
--  AND IsNull(ph.UserId, -1) = -1
ORDER BY ph.CreationDate DESC

Enter Parameters

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