The top 20 answers with the most up-votes (ignores down-votes)
Q&A about the site for administrators, end users, developers and designers for Craft CMS
select top 200 count(v.postid) as 'UpVotes', v.postid AS [Post Link], p.Tags
from votes v
inner join posts p on p.id=v.postid
where PostTypeId = 1 and VoteTypeId=2 and p.Tags like '%curl%'
group by v.postid,p.body,p.Tags
order by 'UpVotes' desc