Test Time: 2024-11-06 18:19:57 User ID: 126054161 Device Name (System Version): samsung SM-A205G (An

0

Please login or register to vote for this query.

(click on this box to dismiss)

Webmasters

Q&A for pro webmasters

SELECT
	ISNULL(vttps.Name,'N/A') as VoteType
	,COUNT(1) as NumberOfPosts
FROM Posts pst
	Left Join Votes vts ON vts.PostId = pst.Id
	Inner Join VoteTypes vttps ON vttps.Id = vts.VoteTypeId
GROUP BY ISNULL(vttps.Name,'N/A')
ORDER BY NumberOfPosts DESC
;

Enter Parameters

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