I'm doing a research about SATs scores by cities. I have every city coded. Is there any way to ask Stata to calculate the mean for each city without having to type the city-code? Not having to write: `sum if city==1` and then `sum if city==2`, but instead that Stata takes all the people with the same city code and calculates the mean?