List of top {count} questions having delete votes which are not yet deleted by votes remaining


Please login or register to vote for this query.

(click on this box to dismiss)

Amateur Radio

Q&A for amateur radio enthusiasts

SELECT TOP 2 p.Id As [Post Link], Count(v.VoteTypeId) As DeleteVotes,
  p.Score AS Score--,
  --Sum(a.Score) AS AnswerScore
FROM Votes AS v
INNER JOIN Posts AS p ON v.PostId=p.Id
--INNER JOIN Posts as a on a.ParentId =
WHERE v.VoteTypeId=10
GROUP BY p.Id, p.Score
HAVING Count(v.VoteTypeId)>0
--ORDER BY DeleteVotes DESC

Enter Parameters

Switch sites:
loading Hold tight while we fetch your results