Get Vote Counts


Please login or register to vote for this query.

(click on this box to dismiss)

Music Fans

Q&A for music historians, critics, and fans

  COUNT(CASE WHEN VoteTypeId=2 THEN 1 END) AS Upvotes,
  COUNT(CASE WHEN VoteTypeId=3 THEN 1 END) AS Downvotes
From votes Where PostId = ##PostId##

Enter Parameters

Switch sites:
loading Hold tight while we fetch your results