Negatively scored answers with delete votes on them, belonging to a user

1

Please login or register to vote for this query.

(click on this box to dismiss)

Genealogy and Family History Meta

Q&A about the site for expert genealogists and people interested in genealogy or family history

SELECT v.PostId AS [Post Link], COUNT(v.PostId), p.score
FROM Posts p
  INNER JOIN Votes v ON p.Id = v.PostId
WHERE
  v.VoteTypeId = 10
  AND p.OwnerUserId = ##UserId##
  AND p.PostTypeId = 2
  AND p.Score < 0
  AND p.DeletionDate IS NULL
GROUP BY v.PostId, p.score
ORDER BY COUNT(v.PostId) DESC

Enter Parameters

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