Your first sentence is how I would like to see it written in a professional document.
If you were speaking it would be natural to say "People in Bejing earn more (money) than people in Ningbo."
Note that the word people is 3rd person plural, i.e. we use the verb conjugated as if we were saying "they" earn - not earns.