Also remember that a system/planet with a higher population code is (probably) going to have larger cities.
In general, it's highly unlikely that the planet's largest city is going to have the same population code as the planet itself - a planet with billions of inhabitants (such as present-day Earth, for example) is unlikely to have any single city with over a billion inhabitants, even if the planet itself is approaching the next pop code in size. Remember, that's going to mean that more than one out of every ten inhabitants lives in that one city.
One size code down is more likely, but still iffy. At this point, using Earth as an example, you'd be talking about cities with populations in the hundreds of millions. Officially, we ain't got any. Still, it's possible - but you're probably not going to have any more than about twenty to thirty of them, and then only if there's some good reason. More likely you're going to have less than ten of these.
Two size codes down - this is the situation modern-day Earth is in. Tokyo is the most populous single city, weighing in at about 32.5 million, or a little less than half a percent of the global population. There are currently 23 cities on Earth which qualify for a Pop code of 8, 24 if you round up for Paris (at 9.6 million).
Each step down is going to have around eight to twelve times as many cities as the next larger level, unless there's something interfering. But honestly, most of the time your characters are not going to be hitting more than one to three cities on a given planet, unless it's part of your game plan. So think through what you want to happen, and set the scene accordingly. Just try to avoid the glaringly obvious mistakes, such as a city the size of New York on a planet with a Pop code of 7. As long as you come close to being reasonable, most players aren't going to be in any position to spot your mistakes, and they're more than likely to let the inconsequential ones pass anyway. (If you've got a player who just want to play "gotcha" games, you should probably be trying to get rid of that behavior/player and replace it with better.)