Put simply, people with qualifications generally earn more money and then choose to live in affluent areas. People with fewer qualifications generally earn less money and then choose to (or are forced to) live in poorer areas. So we get concentrations of skills. This is particularly true within cities.