Q&A about the site for professional robotic engineers, hobbyists, researchers and students
select v.postid AS [Post Link], p.creationdate as "Date", p.ViewCount as "Views", count(v.postid) as 'Vote count' from votes v inner join posts p on p.id=v.postid where PostTypeId = 1 and v.VoteTypeId in (2,3) and p.creationdate >= '2010-01-01' group by v.postid,p.ViewCount, p.creationdate order by Date desc