select v.VoteTypeId as Type, t.Name, count(v.VoteTypeId) ...

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

-- Votes on Arturo Magidin's answers.
select v.VoteTypeId as Type, t.Name, count(v.VoteTypeId) from
Posts p
join Votes v on v.PostId = p.Id
join VoteTypes t on t.Id = v.VoteTypeId
where p.PostTypeId=2 and p.OwnerUserId=742
group by v.VoteTypeId, t.Name

Enter Parameters

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