Q&A for experienced flyers, pilots, and builders of drones and model aircraft
SELECT u.Id AS UserId, u.DisplayName, u.Upvotes AS TotalUpvotes, COUNT(p.Id) AS TotalPosts FROM Posts p JOIN Users u ON p.OwnerUserId = u.Id GROUP BY u.Id, u.DisplayName, u.Upvotes ORDER BY u.Id;