Find questions with close votes

1

Please login or register to vote for this query.

(click on this box to dismiss)

Physics

Q&A for active researchers, academics and students of physics

SELECT
  p.Id, count(*) as [occurrences]
FROM
    Posts p
  INNER JOIN
    Votes v
  ON
    p.Id = v.PostId
WHERE
  p.PostTypeId = 1
AND
  p.ClosedDate IS NULL
AND
  v.VoteTypeId = 6
  group by p.Id
HAVING
  count(*) > 1

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results