Most Up-Voted

1

Please login or register to vote for this query.

(click on this box to dismiss)

Motor Vehicle Maintenance and Repair Meta

Q&A about the site for mechanics and DIY enthusiast owners of cars, trucks, and motorcycles

-- Most Up-Voted Questions
-- The top 20 questions with the most down-votes (ignores up-votes)

select top 20 count(v.postid) as 'Vote count', v.postid AS [Post Link],p.body
from votes v 
inner join posts p on p.id=v.postid
where PostTypeId = 1 and v.VoteTypeId=2
group by v.postid,p.body
order by 'Vote count' desc

Enter Parameters

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