/* select * from posts p where p.tags like '%<html>%' and...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Open Source Meta

Q&A about the site for people organizing, marketing or licensing open source development projects

/*
select *
from posts p
 --join posttags pt on p.id = pt.postid
 --join tags t on pt.tagid = t.id
where p.tags like '%<html>%'
  and p.tags like '%<css>%'
  and p.id = 6
  */
  
  --select * from votetypes -- 2
  
select top 10 count(v.postid) as 'Vote count', v.postid, 
v.postid AS [Post Link]
from votes v
where VoteTypeId=2
group by v.postid
order by 'Vote count' desc

Enter Parameters

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