1. Provide a list of the top 15 users who made the most posts over all time.

0

Please login or register to vote for this query.

(click on this box to dismiss)

IT Security Meta

Q&A about the site for information security professionals

SELECT TOP 15 
U.Id, 
COUNT(P.Id) as Num_Posts
FROM Users U
LEFT JOIN Posts P
on P.OwnerUserId = U.Id
GROUP BY U.ID
ORDER BY Num_Posts DESC

Enter Parameters

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