Find Posts edited after a Leave Closed result of a Reopen Votes review queue

0

Please login or register to vote for this query.

(click on this box to dismiss)

Poker Meta

Q&A about the site for serious players and enthusiasts of poker

SELECT
 P.Id P_Id,
 P.LastEditDate P_LastEditDate,
 RT.Id RT_Id,
 RTT.Name RTT_Name,
 RT.CreationDate RT_CreationDate,
 RTS.Name RTS_Name,
 RTR.Id RTR_Id,
 RTRT.Name RTTR_Name,
 RTR.CreationDate RTR_CreationDate
FROM ReviewTasks RT
INNER JOIN ReviewTaskTypes RTT
 ON RT.ReviewTaskTypeId = RTT.Id
INNER JOIN ReviewTaskStates RTS
 ON RT.ReviewTaskStateId = RTS.Id
INNER JOIN ReviewTaskResults RTR
 ON RT.CompletedByReviewTaskId = RTR.Id
INNER JOIN ReviewTaskResultTypes RTRT
 ON RTR.ReviewTaskResultTypeId = RTRT.Id
INNER JOIN Posts P
 ON RT.PostId = P.Id
WHERE
 (RT.ReviewTaskTypeId = 6 
  AND 
 RTR.ReviewTaskResultTypeId = 13
  AND
 P.LastEditDate > RTR.CreationDate)
 ORDER BY P.LastEditDate DESC;

Enter Parameters

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