Maximus 2

0

Please login or register to vote for this query.

(click on this box to dismiss)

Arqade Meta

Q&A about the site for passionate videogamers on all platforms

select r.*, 'site://review/close/' + CAST(r.Id as nvarchar) from 
(select COUNT(*) as CloseVoteCount, PostId, PostId as [Post Link] 
from PendingFlags
where FlagTypeId=14 
--and CloseASOffTopicReasonTypeId BETWEEN 14 AND 16
group by PostId) f
inner join ReviewTasks r on r.ReviewTaskTypeId = 2 AND r.PostId = f.PostId
where r.DeletionDate is NULL and r.reviewtaskstateid !=1
order by CloseVoteCount DESC

Enter Parameters

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