-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.census_bureau_international.midyear_population_age_sex`
(
  country_code STRING NOT NULL OPTIONS(description="Federal Information Processing Standard (FIPS) country/area code"),
  country_name STRING OPTIONS(description="Country or area name"),
  year INT64 NOT NULL OPTIONS(description="Year"),
  sex STRING OPTIONS(description="Gender"),
  max_age INT64 OPTIONS(description="The last age in the distribution with a value greater than zero"),
  population_age_0 INT64 OPTIONS(description="Population at Age 0"),
  population_age_1 INT64 OPTIONS(description="Population at Age 1"),
  population_age_2 INT64 OPTIONS(description="Population at Age 2"),
  population_age_3 INT64 OPTIONS(description="Population at Age 3"),
  population_age_4 INT64 OPTIONS(description="Population at Age 4"),
  population_age_5 INT64 OPTIONS(description="Population at Age 5"),
  population_age_6 INT64 OPTIONS(description="Population at Age 6"),
  population_age_7 INT64 OPTIONS(description="Population at Age 7"),
  population_age_8 INT64 OPTIONS(description="Population at Age 8"),
  population_age_9 INT64 OPTIONS(description="Population at Age 9"),
  population_age_10 INT64 OPTIONS(description="Population at Age 10"),
  population_age_11 INT64 OPTIONS(description="Population at Age 11"),
  population_age_12 INT64 OPTIONS(description="Population at Age 12"),
  population_age_13 INT64 OPTIONS(description="Population at Age 13"),
  population_age_14 INT64 OPTIONS(description="Population at Age 14"),
  population_age_15 INT64 OPTIONS(description="Population at Age 15"),
  population_age_16 INT64 OPTIONS(description="Population at Age 16"),
  population_age_17 INT64 OPTIONS(description="Population at Age 17"),
  population_age_18 INT64 OPTIONS(description="Population at Age 18"),
  population_age_19 INT64 OPTIONS(description="Population at Age 19"),
  population_age_20 INT64 OPTIONS(description="Population at Age 20"),
  population_age_21 INT64 OPTIONS(description="Population at Age 21"),
  population_age_22 INT64 OPTIONS(description="Population at Age 22"),
  population_age_23 INT64 OPTIONS(description="Population at Age 23"),
  population_age_24 INT64 OPTIONS(description="Population at Age 24"),
  population_age_25 INT64 OPTIONS(description="Population at Age 25"),
  population_age_26 INT64 OPTIONS(description="Population at Age 26"),
  population_age_27 INT64 OPTIONS(description="Population at Age 27"),
  population_age_28 INT64 OPTIONS(description="Population at Age 28"),
  population_age_29 INT64 OPTIONS(description="Population at Age 29"),
  population_age_30 INT64 OPTIONS(description="Population at Age 30"),
  population_age_31 INT64 OPTIONS(description="Population at Age 31"),
  population_age_32 INT64 OPTIONS(description="Population at Age 32"),
  population_age_33 INT64 OPTIONS(description="Population at Age 33"),
  population_age_34 INT64 OPTIONS(description="Population at Age 34"),
  population_age_35 INT64 OPTIONS(description="Population at Age 35"),
  population_age_36 INT64 OPTIONS(description="Population at Age 36"),
  population_age_37 INT64 OPTIONS(description="Population at Age 37"),
  population_age_38 INT64 OPTIONS(description="Population at Age 38"),
  population_age_39 INT64 OPTIONS(description="Population at Age 39"),
  population_age_40 INT64 OPTIONS(description="Population at Age 40"),
  population_age_41 INT64 OPTIONS(description="Population at Age 41"),
  population_age_42 INT64 OPTIONS(description="Population at Age 42"),
  population_age_43 INT64 OPTIONS(description="Population at Age 43"),
  population_age_44 INT64 OPTIONS(description="Population at Age 44"),
  population_age_45 INT64 OPTIONS(description="Population at Age 45"),
  population_age_46 INT64 OPTIONS(description="Population at Age 46"),
  population_age_47 INT64 OPTIONS(description="Population at Age 47"),
  population_age_48 INT64 OPTIONS(description="Population at Age 48"),
  population_age_49 INT64 OPTIONS(description="Population at Age 49"),
  population_age_50 INT64 OPTIONS(description="Population at Age 50"),
  population_age_51 INT64 OPTIONS(description="Population at Age 51"),
  population_age_52 INT64 OPTIONS(description="Population at Age 52"),
  population_age_53 INT64 OPTIONS(description="Population at Age 53"),
  population_age_54 INT64 OPTIONS(description="Population at Age 54"),
  population_age_55 INT64 OPTIONS(description="Population at Age 55"),
  population_age_56 INT64 OPTIONS(description="Population at Age 56"),
  population_age_57 INT64 OPTIONS(description="Population at Age 57"),
  population_age_58 INT64 OPTIONS(description="Population at Age 58"),
  population_age_59 INT64 OPTIONS(description="Population at Age 59"),
  population_age_60 INT64 OPTIONS(description="Population at Age 60"),
  population_age_61 INT64 OPTIONS(description="Population at Age 61"),
  population_age_62 INT64 OPTIONS(description="Population at Age 62"),
  population_age_63 INT64 OPTIONS(description="Population at Age 63"),
  population_age_64 INT64 OPTIONS(description="Population at Age 64"),
  population_age_65 INT64 OPTIONS(description="Population at Age 65"),
  population_age_66 INT64 OPTIONS(description="Population at Age 66"),
  population_age_67 INT64 OPTIONS(description="Population at Age 67"),
  population_age_68 INT64 OPTIONS(description="Population at Age 68"),
  population_age_69 INT64 OPTIONS(description="Population at Age 69"),
  population_age_70 INT64 OPTIONS(description="Population at Age 70"),
  population_age_71 INT64 OPTIONS(description="Population at Age 71"),
  population_age_72 INT64 OPTIONS(description="Population at Age 72"),
  population_age_73 INT64 OPTIONS(description="Population at Age 73"),
  population_age_74 INT64 OPTIONS(description="Population at Age 74"),
  population_age_75 INT64 OPTIONS(description="Population at Age 75"),
  population_age_76 INT64 OPTIONS(description="Population at Age 76"),
  population_age_77 INT64 OPTIONS(description="Population at Age 77"),
  population_age_78 INT64 OPTIONS(description="Population at Age 78"),
  population_age_79 INT64 OPTIONS(description="Population at Age 79"),
  population_age_80 INT64 OPTIONS(description="Population at Age 80"),
  population_age_81 INT64 OPTIONS(description="Population at Age 81"),
  population_age_82 INT64 OPTIONS(description="Population at Age 82"),
  population_age_83 INT64 OPTIONS(description="Population at Age 83"),
  population_age_84 INT64 OPTIONS(description="Population at Age 84"),
  population_age_85 INT64 OPTIONS(description="Population at Age 85"),
  population_age_86 INT64 OPTIONS(description="Population at Age 86"),
  population_age_87 INT64 OPTIONS(description="Population at Age 87"),
  population_age_88 INT64 OPTIONS(description="Population at Age 88"),
  population_age_89 INT64 OPTIONS(description="Population at Age 89"),
  population_age_90 INT64 OPTIONS(description="Population at Age 90"),
  population_age_91 INT64 OPTIONS(description="Population at Age 91"),
  population_age_92 INT64 OPTIONS(description="Population at Age 92"),
  population_age_93 INT64 OPTIONS(description="Population at Age 93"),
  population_age_94 INT64 OPTIONS(description="Population at Age 94"),
  population_age_95 INT64 OPTIONS(description="Population at Age 95"),
  population_age_96 INT64 OPTIONS(description="Population at Age 96"),
  population_age_97 INT64 OPTIONS(description="Population at Age 97"),
  population_age_98 INT64 OPTIONS(description="Population at Age 98"),
  population_age_99 INT64 OPTIONS(description="Population at Age 99"),
  population_age_100 INT64 OPTIONS(description="Population at Age 100")
)
OPTIONS(
  labels=[("freebqcovid", "")]
);

INSERT INTO `bigquery-public-data.census_bureau_international.midyear_population_age_sex` (country_code, country_name, year, sex, max_age, population_age_0, population_age_1, population_age_2, population_age_3, population_age_4, population_age_5, population_age_6, population_age_7, population_age_8, population_age_9, population_age_10, population_age_11, population_age_12, population_age_13, population_age_14, population_age_15, population_age_16, population_age_17, population_age_18, population_age_19, population_age_20, population_age_21, population_age_22, population_age_23, population_age_24, population_age_25, population_age_26, population_age_27, population_age_28, population_age_29, population_age_30, population_age_31, population_age_32, population_age_33, population_age_34, population_age_35, population_age_36, population_age_37, population_age_38, population_age_39, population_age_40, population_age_41, population_age_42, population_age_43, population_age_44, population_age_45, population_age_46, population_age_47, population_age_48, population_age_49, population_age_50, population_age_51, population_age_52, population_age_53, population_age_54, population_age_55, population_age_56, population_age_57, population_age_58, population_age_59, population_age_60, population_age_61, population_age_62, population_age_63, population_age_64, population_age_65, population_age_66, population_age_67, population_age_68, population_age_69, population_age_70, population_age_71, population_age_72, population_age_73, population_age_74, population_age_75, population_age_76, population_age_77, population_age_78, population_age_79, population_age_80, population_age_81, population_age_82, population_age_83, population_age_84, population_age_85, population_age_86, population_age_87, population_age_88, population_age_89, population_age_90, population_age_91, population_age_92, population_age_93, population_age_94, population_age_95, population_age_96, population_age_97, population_age_98, population_age_99, population_age_100) VALUES ('AA', 'Aruba', 1981, 'Male', 100, 553, 559, 540, 516, 493, 477, 471, 472, 483, 499, 514, 532, 556, 583, 613, 644, 672, 689, 694, 686, 676, 664, 649, 628, 603, 576, 547, 525, 509, 499, 491, 481, 468, 451, 430, 409, 390, 376, 369, 368, 368, 367, 363, 356, 346, 335, 326, 313, 298, 283, 266, 250, 235, 222, 212, 201, 191, 183, 175, 170, 165, 161, 157, 150, 144, 137, 130, 127, 126, 127, 114, 108, 100, 94, 86, 80, 72, 66, 59, 53, 46, 41, 35, 29, 25, 20, 16, 13, 10, 7, 6, 4, 3, 2, 1, 1, 1, 0, 0, 0, 1), ('AA', 'Aruba', 1982, 'Male', 97, 549, 551, 558, 539, 516, 494, 476, 470, 472, 483, 498, 514, 531, 556, 583, 613, 643, 671, 688, 692, 683, 675, 663, 648, 627, 602, 575, 546, 524, 509, 498, 489, 481, 466, 450, 429, 408, 389, 375, 368, 367, 366, 365, 362, 355, 344, 333, 325, 311, 296, 282, 264, 248, 233, 220, 209, 198, 187, 180, 171, 166, 162, 158, 154, 147, 140, 134, 126, 123, 122, 122, 109, 103, 95, 89, 80, 75, 66, 60, 54, 48, 41, 35, 31, 24, 21, 17, 13, 10, 8, 5, 5, 3, 2, 1, 0, 1, 1, 0, 0, 0), ('AA', 'Aruba', 1983, 'Male', 97, 569, 547, 550, 559, 539, 517, 496, 477, 471, 474, 485, 499, 514, 533, 557, 588, 619, 649, 676, 694, 694, 685, 677, 664, 650, 628, 603, 575, 547, 525, 509, 498, 489, 481, 467, 450, 430, 408, 390, 376, 367, 367, 367, 364, 362, 354, 343, 333, 323, 311, 294, 281, 263, 247, 231, 218, 206, 195, 183, 176, 168, 163, 159, 155, 151, 144, 137, 130, 123, 118, 119, 117, 104, 98, 89, 84, 74, 70, 61, 55, 49, 42, 36, 30, 27, 20, 17, 14, 10, 8, 6, 4, 3, 2, 2, 0, 0, 1, 0, 0, 0), ('AA', 'Aruba', 1984, 'Male', 98, 585, 566, 547, 549, 559, 536, 515, 495, 476, 469, 473, 484, 498, 512, 532, 548, 584, 614, 645, 671, 694, 692, 682, 674, 662, 649, 626, 601, 573, 545, 523, 507, 496, 487, 479, 464, 447, 428, 405, 388, 373, 365, 365, 364, 361, 361, 352, 341, 330, 321, 308, 292, 279, 259, 245, 228, 215, 201, 191, 179, 173, 165, 159, 156, 151, 147, 140, 132, 126, 119, 113, 114, 112, 98, 91, 84, 78, 68, 64, 56, 49, 43, 37, 31, 26, 22, 17, 13, 11, 8, 6, 5, 2, 2, 2, 1, 0, 0, 1, 0, 0), ('AA', 'Aruba', 1985, 'Male', 99, 587, 577, 562, 542, 545, 544, 519, 499, 478, 459, 453, 458, 470, 483, 496, 482, 493, 527, 559, 588, 643, 669, 669, 657, 650, 645, 634, 610, 586, 557, 527, 505, 492, 478, 470, 459, 443, 427, 407, 386, 371, 358, 349, 349, 348, 350, 351, 343, 330, 320, 312, 298, 282, 269, 248, 237, 222, 207, 195, 183, 173, 168, 158, 153, 151, 144, 139, 131, 124, 118, 111, 105, 106, 103, 89, 84, 75, 70, 60, 57, 49, 43, 34, 31, 25, 22, 18, 14, 10, 8, 7, 4, 4, 1, 1, 2, 0, 0, 0, 1, 0);