User with most answers

0

Please login or register to vote for this query.

(click on this box to dismiss)

Motor Vehicle Maintenance and Repair Meta

Q&A about the site for mechanics and DIY enthusiast owners of cars, trucks, and motorcycles

SELECT TOP 1
  u.Id AS [User Link],
  count(*) AS NumPosts 
FROM Posts p
     INNER JOIN Users u ON u.Id = p.OwnerUserId
Where DeletionDate is null and PostTypeId = 2 
GROUP BY u.Id
ORDER BY NumPosts DESC

Enter Parameters

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