Self-join

Population table:
pop_idcountry_codeyearfertility_ratelife_expectancysize
20ABW20101.70474.9535101597
19ABW20151.64775.5736103889
2AFG20105.74658.970827962200
1AFG20154.65360.717232526600