SELECT PostId, COUNT(*) FROM PostTags GROUP BY PostId...

0

Please login or register to vote for this query.

(click on this box to dismiss)

SharePoint

Q&A for SharePoint enthusiasts

--SELECT*
--FROM Tags
--WHERE TagName='delimited'
--ORDER BY COUNT DESC

--Sinonīmu lietojums
--SELECT*
--FROM TagSynonyms
--WHERE (TargetTagName='html' OR TargetTagName='css')

--posts un tā tagi(detalizēti)
--SELECT*
--FROM PostTags
--WHERE PostId IN (14, 66, 72)
--ORDER BY PostId ASC

--Cik ir unikālo postu ar Tagiem? 24 124 389
--SELECT COUNT (DISTINCT PostId)
--FROM PostTags

--Visi posti, kuriem ir 2 tagi (kombinācijas)
SELECT PostId, COUNT(*)
FROM PostTags
GROUP BY PostId
HAVING COUNT(*)=2
ORDER BY PostId ASC

Enter Parameters

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