This question already has an answer here:
I have an attribute table for buildings in my city. The important fields are Output Area, where the building is located, and TotalArea, a calculated sum of the floorspace of that building.
What I'd like to do is find the total area of all buildings in each output area, and add that data to the output area table.
What's the best way to do this?