-- DBMS: snowflake
CREATE TABLE AMAZON_VENDOR_ANALYTICS__SAMPLE_DATASET.PUBLIC.RETAIL_ANALYTICS_FORECASTING (
    WEEK_10_MEAN_FORECAST NUMBER,
    WEEK_21_P70_FORECAST NUMBER,
    WEEK_23_P70_FORECAST NUMBER,
    WEEK_21_MEAN_FORECAST NUMBER,
    WEEK_2_P70_FORECAST NUMBER,
    WEEK_2_MEAN_FORECAST NUMBER,
    WEEK_12_P90_FORECAST NUMBER,
    WEEK_20_MEAN_FORECAST NUMBER,
    WEEK_8_P70_FORECAST NUMBER,
    WEEK_7_P80_FORECAST NUMBER,
    WEEK_19_P70_FORECAST NUMBER,
    WEEK_16_MEAN_FORECAST NUMBER,
    WEEK_23_MEAN_FORECAST NUMBER,
    WEEK_9_MEAN_FORECAST NUMBER,
    WEEK_15_P70_FORECAST NUMBER,
    WEEK_11_MEAN_FORECAST NUMBER,
    WEEK_9_P90_FORECAST NUMBER,
    WEEK_15_P90_FORECAST NUMBER,
    WEEK_18_P80_FORECAST NUMBER,
    WEEK_21_P90_FORECAST NUMBER,
    WEEK_22_MEAN_FORECAST NUMBER,
    WEEK_1_P80_FORECAST NUMBER,
    WEEK_22_P70_FORECAST NUMBER,
    WEEK_25_P80_FORECAST NUMBER,
    WEEK_8_P80_FORECAST NUMBER,
    WEEK_7_MEAN_FORECAST NUMBER,
    WEEK_1_P90_FORECAST NUMBER,
    WEEK_19_P80_FORECAST NUMBER,
    DISTRIBUTOR_VIEW TEXT,
    WEEK_12_MEAN_FORECAST NUMBER,
    _REVISION NUMBER,
    WEEK_20_P80_FORECAST NUMBER,
    WEEK_9_P70_FORECAST NUMBER,
    WEEK_4_P70_FORECAST NUMBER,
    WEEK_14_P70_FORECAST NUMBER,
    WEEK_8_MEAN_FORECAST NUMBER,
    WEEK_15_MEAN_FORECAST NUMBER,
    WEEK_13_MEAN_FORECAST NUMBER,
    WEEK_21_P80_FORECAST NUMBER,
    WEEK_0_P90_FORECAST NUMBER,
    WEEK_12_P70_FORECAST NUMBER,
    WEEK_1_MEAN_FORECAST NUMBER,
    WEEK_11_P70_FORECAST NUMBER,
    WEEK_16_P80_FORECAST NUMBER,
    WEEK_17_P70_FORECAST NUMBER,
    WEEK_3_MEAN_FORECAST NUMBER,
    WEEK_10_P90_FORECAST NUMBER,
    WEEK_25_P90_FORECAST NUMBER,
    WEEK_19_MEAN_FORECAST NUMBER,
    PERIOD TEXT,
    WEEK_20_P90_FORECAST NUMBER,
    WEEK_5_P80_FORECAST NUMBER,
    WEEK_4_MEAN_FORECAST NUMBER,
    WEEK_10_P70_FORECAST NUMBER,
    ASIN TEXT,
    WEEK_15_P80_FORECAST NUMBER,
    WEEK_8_P90_FORECAST NUMBER,
    WEEK_2_P90_FORECAST NUMBER,
    WEEK_3_P70_FORECAST NUMBER,
    WEEK_6_P90_FORECAST NUMBER,
    WEEK_14_P80_FORECAST NUMBER,
    WEEK_13_P80_FORECAST NUMBER,
    WEEK_11_P80_FORECAST NUMBER,
    _LAST_UPDATED_ON TIMESTAMP_LTZ,
    WEEK_24_P70_FORECAST NUMBER,
    WEEK_12_P80_FORECAST NUMBER,
    WEEK_0_P70_FORECAST NUMBER,
    WEEK_14_P90_FORECAST NUMBER,
    WEEK_6_P80_FORECAST NUMBER,
    DATE TIMESTAMP_LTZ,
    WEEK_20_P70_FORECAST NUMBER,
    WEEK_16_P90_FORECAST NUMBER,
    WEEK_16_P70_FORECAST NUMBER,
    WEEK_18_P70_FORECAST NUMBER,
    PROGRAM TEXT,
    RAW_RECORD TEXT,
    WEEK_4_P90_FORECAST NUMBER,
    WEEK_5_MEAN_FORECAST NUMBER,
    WEEK_3_P80_FORECAST NUMBER,
    WEEK_6_P70_FORECAST NUMBER,
    PRODUCT_TITLE TEXT,
    WEEK_23_P90_FORECAST NUMBER,
    WEEK_24_MEAN_FORECAST NUMBER,
    WEEK_1_P70_FORECAST NUMBER,
    WEEK_25_P70_FORECAST NUMBER,
    WEEK_14_MEAN_FORECAST NUMBER,
    WEEK_0_P80_FORECAST NUMBER,
    WEEK_5_P90_FORECAST NUMBER,
    WEEK_24_P80_FORECAST NUMBER,
    WEEK_19_P90_FORECAST NUMBER,
    WEEK_22_P80_FORECAST NUMBER,
    WEEK_25_MEAN_FORECAST NUMBER,
    _CREATED_ON TIMESTAMP_LTZ,
    WEEK_22_P90_FORECAST NUMBER,
    WEEK_10_P80_FORECAST NUMBER,
    WEEK_17_MEAN_FORECAST NUMBER,
    WEEK_5_P70_FORECAST NUMBER,
    WEEK_9_P80_FORECAST NUMBER,
    WEEK_13_P90_FORECAST NUMBER,
    WEEK_17_P80_FORECAST NUMBER,
    WEEK_6_MEAN_FORECAST NUMBER,
    WEEK_13_P70_FORECAST NUMBER,
    WEEK_4_P80_FORECAST NUMBER,
    WEEK_2_P80_FORECAST NUMBER,
    WEEK_18_MEAN_FORECAST NUMBER,
    WEEK_17_P90_FORECAST NUMBER,
    _PARTNERUUID TEXT,
    WEEK_3_P90_FORECAST NUMBER,
    WEEK_23_P80_FORECAST NUMBER,
    WEEK_24_P90_FORECAST NUMBER,
    WEEK_7_P70_FORECAST NUMBER,
    WEEK_18_P90_FORECAST NUMBER,
    WEEK_7_P90_FORECAST NUMBER,
    WEEK_0_MEAN_FORECAST NUMBER,
    WEEK_11_P90_FORECAST NUMBER,
    ID NUMBER
);

INSERT INTO "AMAZON_VENDOR_ANALYTICS__SAMPLE_DATASET"."PUBLIC"."RETAIL_ANALYTICS_FORECASTING" (WEEK_10_MEAN_FORECAST, WEEK_21_P70_FORECAST, WEEK_23_P70_FORECAST, WEEK_21_MEAN_FORECAST, WEEK_2_P70_FORECAST, WEEK_2_MEAN_FORECAST, WEEK_12_P90_FORECAST, WEEK_20_MEAN_FORECAST, WEEK_8_P70_FORECAST, WEEK_7_P80_FORECAST, WEEK_19_P70_FORECAST, WEEK_16_MEAN_FORECAST, WEEK_23_MEAN_FORECAST, WEEK_9_MEAN_FORECAST, WEEK_15_P70_FORECAST, WEEK_11_MEAN_FORECAST, WEEK_9_P90_FORECAST, WEEK_15_P90_FORECAST, WEEK_18_P80_FORECAST, WEEK_21_P90_FORECAST, WEEK_22_MEAN_FORECAST, WEEK_1_P80_FORECAST, WEEK_22_P70_FORECAST, WEEK_25_P80_FORECAST, WEEK_8_P80_FORECAST, WEEK_7_MEAN_FORECAST, WEEK_1_P90_FORECAST, WEEK_19_P80_FORECAST, DISTRIBUTOR_VIEW, WEEK_12_MEAN_FORECAST, _REVISION, WEEK_20_P80_FORECAST, WEEK_9_P70_FORECAST, WEEK_4_P70_FORECAST, WEEK_14_P70_FORECAST, WEEK_8_MEAN_FORECAST, WEEK_15_MEAN_FORECAST, WEEK_13_MEAN_FORECAST, WEEK_21_P80_FORECAST, WEEK_0_P90_FORECAST, WEEK_12_P70_FORECAST, WEEK_1_MEAN_FORECAST, WEEK_11_P70_FORECAST, WEEK_16_P80_FORECAST, WEEK_17_P70_FORECAST, WEEK_3_MEAN_FORECAST, WEEK_10_P90_FORECAST, WEEK_25_P90_FORECAST, WEEK_19_MEAN_FORECAST, PERIOD, WEEK_20_P90_FORECAST, WEEK_5_P80_FORECAST, WEEK_4_MEAN_FORECAST, WEEK_10_P70_FORECAST, ASIN, WEEK_15_P80_FORECAST, WEEK_8_P90_FORECAST, WEEK_2_P90_FORECAST, WEEK_3_P70_FORECAST, WEEK_6_P90_FORECAST, WEEK_14_P80_FORECAST, WEEK_13_P80_FORECAST, WEEK_11_P80_FORECAST, _LAST_UPDATED_ON, WEEK_24_P70_FORECAST, WEEK_12_P80_FORECAST, WEEK_0_P70_FORECAST, WEEK_14_P90_FORECAST, WEEK_6_P80_FORECAST, DATE, WEEK_20_P70_FORECAST, WEEK_16_P90_FORECAST, WEEK_16_P70_FORECAST, WEEK_18_P70_FORECAST, PROGRAM, RAW_RECORD, WEEK_4_P90_FORECAST, WEEK_5_MEAN_FORECAST, WEEK_3_P80_FORECAST, WEEK_6_P70_FORECAST, PRODUCT_TITLE, WEEK_23_P90_FORECAST, WEEK_24_MEAN_FORECAST, WEEK_1_P70_FORECAST, WEEK_25_P70_FORECAST, WEEK_14_MEAN_FORECAST, WEEK_0_P80_FORECAST, WEEK_5_P90_FORECAST, WEEK_24_P80_FORECAST, WEEK_19_P90_FORECAST, WEEK_22_P80_FORECAST, WEEK_25_MEAN_FORECAST, _CREATED_ON, WEEK_22_P90_FORECAST, WEEK_10_P80_FORECAST, WEEK_17_MEAN_FORECAST, WEEK_5_P70_FORECAST, WEEK_9_P80_FORECAST, WEEK_13_P90_FORECAST, WEEK_17_P80_FORECAST, WEEK_6_MEAN_FORECAST, WEEK_13_P70_FORECAST, WEEK_4_P80_FORECAST, WEEK_2_P80_FORECAST, WEEK_18_MEAN_FORECAST, WEEK_17_P90_FORECAST, _PARTNERUUID, WEEK_3_P90_FORECAST, WEEK_23_P80_FORECAST, WEEK_24_P90_FORECAST, WEEK_7_P70_FORECAST, WEEK_18_P90_FORECAST, WEEK_7_P90_FORECAST, WEEK_0_MEAN_FORECAST, WEEK_11_P90_FORECAST, ID) VALUES (56, 71, 70, 59, 54, 45, 116, 57, 53, 83, 69, 57, 58, 39, 73, 64, 68, 112, 86, 110, 56, 60, 68, 84, 64, 56, 73, 84, 'Manufacturing', 61, 15, 84, 46, 47, 73, 43, 60, 59, 86, 72, 75, 43, 77, 85, 70, 46, 105, 107, 57, 'WEEKLY', 108, 76, 39, 68, 'ASIN_34', 88, 81, 77, 56, 93, 87, 86, 94, '2023-01-03 22:09:42-08:00', 66, 90, 51, 110, 74, '2023-01-03 00:00:00-08:00', 69, 108, 70, 71, 'Amazon Retail', NULL, 67, 52, 67, 62, 'TITLE_34', 109, 54, 51, 70, 60, 59, 96, 80, 108, 82, 57, '2023-01-02 14:03:01-08:00', 105, 83, 57, 63, 55, 108, 84, 51, 72, 55, 63, 58, 107, '0ba25d78-760e-4541-8eca-e4ff8292d0b1', 84, 85, 103, 69, 110, 107, 42, 121, 395), (44, 48, 47, 41, 36, 32, 65, 41, 37, 43, 45, 39, 40, 40, 44, 44, 66, 57, 51, 62, 40, 41, 47, 54, 42, 34, 46, 51, 'Manufacturing', 38, 52, 54, 48, 34, 43, 32, 38, 33, 53, 50, 46, 32, 53, 50, 45, 32, 69, 62, 39, 'WEEKLY', 63, 39, 30, 51, 'ASIN_189', 49, 50, 45, 36, 48, 48, 43, 60, '2022-12-04 06:12:09-08:00', 49, 53, 41, 55, 42, '2022-12-06 00:00:00-08:00', 48, 58, 45, 45, 'Amazon Retail', NULL, 43, 31, 40, 39, 'TITLE_189', 63, 42, 37, 48, 37, 45, 44, 54, 59, 52, 41, '2022-12-05 06:08:40-08:00', 61, 58, 38, 36, 55, 50, 50, 34, 39, 38, 40, 39, 59, '0ba25d78-760e-4541-8eca-e4ff8292d0b1', 45, 53, 63, 39, 61, 49, 36, 72, 401), (60, 74, 74, 64, 56, 49, 91, 65, 56, 65, 70, 62, 63, 57, 70, 62, 91, 89, 83, 97, 62, 62, 73, 85, 63, 52, 69, 79, 'Manufacturing', 54, 52, 86, 67, 53, 68, 49, 60, 54, 83, 75, 65, 50, 74, 79, 70, 50, 94, 99, 61, 'WEEKLY', 101, 61, 47, 70, 'ASIN_196', 77, 74, 68, 56, 74, 75, 70, 85, '2022-12-04 06:12:09-08:00', 77, 75, 62, 87, 66, '2022-12-06 00:00:00-08:00', 76, 92, 71, 73, 'Amazon Retail', NULL, 65, 50, 61, 60, 'TITLE_196', 99, 66, 57, 75, 58, 68, 68, 87, 91, 82, 64, '2022-12-05 06:08:40-08:00', 95, 80, 60, 56, 77, 81, 79, 53, 63, 58, 61, 63, 93, '0ba25d78-760e-4541-8eca-e4ff8292d0b1', 69, 84, 102, 60, 98, 74, 56, 101, 421), (608, 748, 726, 635, 680, 610, 900, 640, 574, 711, 742, 635, 619, 541, 704, 616, 773, 925, 873, 1010, 623, 677, 731, 803, 635, 561, 744, 848, 'Manufacturing', 595, 15, 855, 617, 597, 722, 501, 605, 618, 852, 740, 691, 571, 710, 837, 742, 593, 885, 945, 629, 'WEEKLY', 1013, 703, 528, 698, 'ASIN_38', 792, 726, 810, 664, 795, 810, 793, 790, '2023-01-03 22:09:42-08:00', 727, 774, 628, 945, 705, '2023-01-03 00:00:00-08:00', 752, 982, 742, 766, 'Amazon Retail', NULL, 735, 566, 719, 644, 'TITLE_38', 971, 620, 632, 710, 621, 674, 794, 824, 1010, 829, 606, '2023-01-02 14:03:01-08:00', 979, 773, 631, 642, 680, 914, 843, 569, 712, 653, 732, 651, 997, '0ba25d78-760e-4541-8eca-e4ff8292d0b1', 799, 823, 971, 643, 1037, 813, 568, 911, 424), (191, 244, 248, 207, 207, 182, 311, 207, 180, 243, 242, 201, 210, 162, 240, 200, 233, 320, 279, 329, 204, 206, 240, 290, 205, 182, 231, 276, 'Manufacturing', 199, 15, 277, 185, 177, 239, 153, 205, 203, 278, 231, 233, 168, 234, 267, 235, 178, 291, 348, 206, 'WEEKLY', 329, 235, 154, 223, 'ASIN_99', 272, 244, 258, 205, 279, 270, 265, 265, '2023-01-03 22:09:42-08:00', 244, 264, 190, 317, 239, '2023-01-03 00:00:00-08:00', 243, 315, 236, 245, 'Amazon Retail', NULL, 224, 178, 228, 212, 'TITLE_99', 340, 207, 189, 253, 205, 207, 276, 280, 329, 273, 214, '2023-01-02 14:03:01-08:00', 323, 250, 201, 208, 204, 309, 266, 182, 236, 195, 227, 208, 313, '0ba25d78-760e-4541-8eca-e4ff8292d0b1', 262, 285, 333, 214, 331, 288, 169, 312, 434);