-- DBMS: snowflake
CREATE TABLE AMAZON_VENDOR_ANALYTICS__SAMPLE_DATASET.PUBLIC.ADS_SPONSORED_BRANDS_KEYWORD_VC (
    ID NUMBER,
    SPEND FLOAT,
    TARGETING TEXT,
    COST_PER_CLICK_CPC FLOAT,
    MATCH_TYPE TEXT,
    IMPRESSIONS FLOAT,
    14_DAY_NEW_TO_BRAND_ORDERS FLOAT,
    TOTAL_ADVERTISING_COST_OF_SALES_ACOS FLOAT,
    _CREATED_ON TIMESTAMP_LTZ,
    _REVISION NUMBER,
    PORTFOLIO_NAME TEXT,
    14_DAY_PERCENTAGE_NEW_TO_BRAND_ORDER_RATE FLOAT,
    14_DAY_TOTAL_UNITS FLOAT,
    14_DAY_PERCENTAGE_NEW_TO_BRAND_SALES FLOAT,
    14_DAY_NEW_TO_BRAND_UNITS FLOAT,
    TOTAL_RETURN_ON_ADVERTISING_SPEND_ROAS FLOAT,
    CAMPAIGN_NAME TEXT,
    14_DAY_PERCENTAGE_NEW_TO_BRAND_ORDERS FLOAT,
    DATE TIMESTAMP_LTZ,
    CLICKS FLOAT,
    CURRENCY TEXT,
    14_DAY_TOTAL_SALES FLOAT,
    _PARTNERUUID TEXT,
    _LAST_UPDATED_ON TIMESTAMP_LTZ,
    14_DAY_CONVERSION_RATE FLOAT,
    ROW_INDEX NUMBER,
    14_DAY_PERCENTAGE_NEW_TO_BRAND_UNITS FLOAT,
    14_DAY_TOTAL_ORDERS FLOAT,
    CLICK_THRU_RATE_CTR FLOAT,
    14_DAY_NEW_TO_BRAND_SALES FLOAT
);

INSERT INTO "AMAZON_VENDOR_ANALYTICS__SAMPLE_DATASET"."PUBLIC"."ADS_SPONSORED_BRANDS_KEYWORD_VC" (ID, SPEND, TARGETING, COST_PER_CLICK_CPC, MATCH_TYPE, IMPRESSIONS, 14_DAY_NEW_TO_BRAND_ORDERS, TOTAL_ADVERTISING_COST_OF_SALES_ACOS, _CREATED_ON, _REVISION, PORTFOLIO_NAME, 14_DAY_PERCENTAGE_NEW_TO_BRAND_ORDER_RATE, 14_DAY_TOTAL_UNITS, 14_DAY_PERCENTAGE_NEW_TO_BRAND_SALES, 14_DAY_NEW_TO_BRAND_UNITS, TOTAL_RETURN_ON_ADVERTISING_SPEND_ROAS, CAMPAIGN_NAME, 14_DAY_PERCENTAGE_NEW_TO_BRAND_ORDERS, DATE, CLICKS, CURRENCY, 14_DAY_TOTAL_SALES, _PARTNERUUID, _LAST_UPDATED_ON, 14_DAY_CONVERSION_RATE, ROW_INDEX, 14_DAY_PERCENTAGE_NEW_TO_BRAND_UNITS, 14_DAY_TOTAL_ORDERS, CLICK_THRU_RATE_CTR, 14_DAY_NEW_TO_BRAND_SALES) VALUES (214802, 107.82, 'PRODUCT_56', 1.960363636, 'EXACT', 6653.0, 0.0, 0.0, '2021-11-09 14:13:37-08:00', 4, 'NAME_192', 0.0, 0.0, 0.0, 0.0, 0.0, 'NAME_201', 0.0, '2021-01-10 00:00:00-08:00', 55.0, 'GBP', 0.0, '0ba25d78-760e-4541-8eca-e4ff8292d0b1', '2021-11-10 12:28:31-08:00', 0.0, 1, 0.0, 0.0, 0.008266947, 0.0), (214814, 7.9, 'PRODUCT_11', 0.607692308, 'EXACT', 349.0, 1.0, 0.0, '2021-11-09 14:13:37-08:00', 4, 'NAME_192', 0.076923077, 2.0, 0.855014276, 1.0, 14.18734177, 'NAME_202', 0.5, '2021-01-10 00:00:00-08:00', 13.0, 'GBP', 112.08, '0ba25d78-760e-4541-8eca-e4ff8292d0b1', '2021-11-10 12:28:33-08:00', 0.153846154, 13, 0.5, 2.0, 0.037249284, 95.83), (214832, 16.77, 'PRODUCT_99', 0.598928571, 'PHRASE', 2414.0, 2.0, 0.0, '2021-11-09 14:13:37-08:00', 4, 'NAME_194', 0.071428571, 2.0, 1.0, 2.0, 9.539654144, 'NAME_205', 1.0, '2021-01-11 00:00:00-08:00', 28.0, 'GBP', 159.98, '0ba25d78-760e-4541-8eca-e4ff8292d0b1', '2021-11-10 12:28:28-08:00', 0.071428571, 6, 1.0, 2.0, 0.011599006, 159.98), (214845, 4.14, 'PRODUCT_187', 0.414, 'EXACT', 1182.0, 5.0, 0.0, '2021-11-09 14:13:37-08:00', 4, 'NAME_193', 0.5, 5.0, 1.0, 5.0, 97.61594203, 'NAME_203', 1.0, '2021-01-11 00:00:00-08:00', 10.0, 'GBP', 404.13, '0ba25d78-760e-4541-8eca-e4ff8292d0b1', '2021-11-10 12:28:38-08:00', 0.5, 19, 1.0, 5.0, 0.008460237, 404.13), (214856, 23.03, 'PRODUCT_37', 0.794137931, 'PHRASE', 5031.0, 2.0, 0.0, '2021-11-09 14:13:37-08:00', 4, 'NAME_193', 0.068965517, 2.0, 1.0, 2.0, 10.49240122, 'NAME_203', 1.0, '2021-01-12 00:00:00-08:00', 29.0, 'GBP', 241.64, '0ba25d78-760e-4541-8eca-e4ff8292d0b1', '2021-11-10 12:28:36-08:00', 0.068965517, 5, 1.0, 2.0, 0.005764262, 241.64);