Q&A about the site for users of Ethereum, the decentralized application platform and smart contract enabled blockchain
SELECT Users.Id AS UserId, Users.DisplayName, COUNT(Posts.Id) AS total_posts, SUM(Posts.Score) AS total_upvotes FROM Posts JOIN Users ON Posts.OwnerUserId = Users.Id GROUP BY Users.Id, Users.DisplayName ORDER BY Users.Id;