test

0

Please login or register to vote for this query.

(click on this box to dismiss)

Joomla Meta

Q&A about the site for Joomla! administrators, users, developers and designers

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 to main site
loading Hold tight while we fetch your results