Distribution of votes by type

0

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

select VT.Name, V.CreationDate, COUNT(V.id)
from VoteTypes VT
join Votes V
on V.VoteTypeId = VT.id AND VT.Name='AcceptedByOriginator'
group by VT.Name, V.CreationDate
order by VT.Name ASC, V.CreationDate DESC

Enter Parameters

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