select t.Name, COUNT(*) from PostNotices pn inner join Po...

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 t.Name, COUNT(*) from PostNotices pn
inner join Posts p on p.Id = pn.PostId
inner join PostNoticeTypes t on t.Id = pn.PostNoticeTypeId
where p.CreationDate > '2017-01-01'
group by t.Name

Enter Parameters

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