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

INSERT INTO "AMAZON_VENDOR_ANALYTICS__SAMPLE_DATASET"."PUBLIC"."ADS_SPONSORED_BRANDS_CAMPAIGN_VC" (14_DAY_TOTAL_SALES, SPEND, IMPRESSIONS, CAMPAIGN_NAME, CURRENCY, _LAST_UPDATED_ON, COST_PER_CLICK_CPC, 14_DAY_PERCENTAGE_NEW_TO_BRAND_ORDER_RATE, 14_DAY_TOTAL_ORDERS, TOTAL_ADVERTISING_COST_OF_SALES_ACOS, DATE, ROW_INDEX, 14_DAY_PERCENTAGE_NEW_TO_BRAND_ORDERS, _REVISION, 14_DAY_NEW_TO_BRAND_ORDERS, CLICKS, 14_DAY_PERCENTAGE_NEW_TO_BRAND_SALES, _PARTNERUUID, _CREATED_ON, 14_DAY_PERCENTAGE_NEW_TO_BRAND_UNITS, ID, CLICK_THRU_RATE_CTR, 14_DAY_CONVERSION_RATE, 14_DAY_NEW_TO_BRAND_SALES, PORTFOLIO_NAME, 14_DAY_TOTAL_UNITS, 14_DAY_NEW_TO_BRAND_UNITS, TOTAL_RETURN_ON_ADVERTISING_SPEND_ROAS) VALUES (797.45, 109.4, 17822.0, 'NAME_203', 'GBP', '2021-11-11 12:41:50-08:00', 0.770422535, 0.056338028, 8.0, 0.0, '2021-01-12 00:00:00-08:00', 8, 1.0, 4, 8.0, 142.0, 1.0, '0ba25d78-760e-4541-8eca-e4ff8292d0b1', '2021-11-10 14:28:16-08:00', 1.0, 124705, 0.00796768, 0.056338028, 797.45, 'NAME_193', 8.0, 8.0, 7.289305302), (0.0, 2.31, 1205.0, 'NAME_206', 'GBP', '2021-11-11 12:41:50-08:00', 0.256666667, 0.0, 0.0, 0.0, '2021-01-14 00:00:00-08:00', 4, 0.0, 4, 0.0, 9.0, 0.0, '0ba25d78-760e-4541-8eca-e4ff8292d0b1', '2021-11-10 14:28:16-08:00', 0.0, 124608, 0.00746888, 0.0, 0.0, 'NAME_192', 0.0, 0.0, 0.0), (493.08, 102.65, 18941.0, 'NAME_203', 'GBP', '2021-11-11 12:41:50-08:00', 0.688926174, 0.026845638, 4.0, 0.0, '2021-01-16 00:00:00-08:00', 6, 1.0, 4, 4.0, 149.0, 1.0, '0ba25d78-760e-4541-8eca-e4ff8292d0b1', '2021-11-10 14:28:16-08:00', 1.0, 124709, 0.007866533, 0.026845638, 493.08, 'NAME_193', 4.0, 4.0, 4.803507063), (165.0, 66.28, 14095.0, 'NAME_201', 'GBP', '2021-11-11 12:41:50-08:00', 0.683298969, 0.020618557, 2.0, 0.0, '2021-01-17 00:00:00-08:00', 1, 1.0, 4, 2.0, 97.0, 1.0, '0ba25d78-760e-4541-8eca-e4ff8292d0b1', '2021-11-10 14:28:16-08:00', 1.0, 124317, 0.006881873, 0.020618557, 165.0, 'NAME_192', 2.0, 2.0, 2.489438745), (989.98, 21.22, 2950.0, 'NAME_204', 'GBP', '2021-11-11 12:41:50-08:00', 0.228172043, 0.086021505, 9.0, 0.0, '2021-01-17 00:00:00-08:00', 7, 0.888888889, 4, 8.0, 93.0, 0.891411948, '0ba25d78-760e-4541-8eca-e4ff8292d0b1', '2021-11-10 14:28:16-08:00', 0.888888889, 124798, 0.031525424, 0.096774194, 882.48, 'NAME_193', 9.0, 8.0, 46.6531574);