Max Post per Tag

0

Please login or register to vote for this query.

(click on this box to dismiss)

Enter Query Description

SharePoint

Q&A for SharePoint enthusiasts

-- Enter Query Title
-- Enter Query Description

SELECT 
tagname, max(score) 
FROM 
posts p
INNER JOIN postTags pt
ON p.id = pt.postId
INNER JOIN tags t
ON pt.tagid = t.id 
GROUP BY 
tagname 

Enter Parameters

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