Reputation: 1
I have table users with about 220 k users and each user made almost 1 post
table users and in field i have the number of he's post's postcount=5
I want to know the sum of all users postcount
thnakx in advance
Upvotes: 0
Views: 41
Reputation: 1135
SELECT SUM(postcount) FROM users;
Try this query.
Upvotes: 1