test

0

Please login or register to vote for this query.

(click on this box to dismiss)

Gardening and Landscaping Meta

Q&A about the site for gardeners and landscapers

select top 10 a.ID, a.Title, b.Tag_count
from posts a join 
(
SELECT postid, count(distinct tagid) as Tag_count
FROM posttags
group by postid
having count(distinct tagid) > 5
) b
on a.ID = b.postid
where a.posttypeID = 1

Enter Parameters

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