Deleted questions with many answers (with more details)

0

Please login or register to vote for this query.

(click on this box to dismiss)

Mathematics

Q&A for people studying math at any level and professionals in related fields

SELECT TOP ##number?100##
  q.Id, 
  url = 'site://q/' + CAST(q.Id AS varchar),
  COUNT(*) AS NumAnswers,
  q.CreationDate, q.DeletionDate,
  q.Score, q.Tags
FROM PostsWithDeleted q
INNER JOIN PostsWithDeleted a ON a.ParentId = q.Id
WHERE (q.Deletiondate IS NOT NULL) and (q.PostTypeId =1) and (a.PostTypeId=2)
GROUP BY q.Id, q.CreationDate, q.DeletionDate, q.Score, q.Tags
ORDER BY NumAnswers DESC

Enter Parameters

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