-- DBMS: snowflake
CREATE TABLE AMAZON_VENDOR_ANALYTICS__SAMPLE_DATASET.PUBLIC.ADS_SPONSORED_PRODUCTS_SEARCH_TERM_VC (
    CLICK_THRU_RATE_CTR FLOAT,
    MATCH_TYPE TEXT,
    IMPRESSIONS FLOAT,
    DATE TIMESTAMP_LTZ,
    CAMPAIGN_NAME TEXT,
    14_DAY_TOTAL_SALES FLOAT,
    14_DAY_TOTAL_ORDERS FLOAT,
    COST_PER_CLICK_CPC FLOAT,
    CLICKS FLOAT,
    PORTFOLIO_NAME TEXT,
    TARGETING TEXT,
    CUSTOMER_SEARCH_TERM TEXT,
    AD_GROUP_NAME TEXT,
    14_DAY_BRAND_HALO_ASIN_SALES TEXT,
    _CREATED_ON TIMESTAMP_LTZ,
    ROW_INDEX NUMBER,
    14_DAY_TOTAL_UNITS FLOAT,
    SPEND FLOAT,
    14_DAY_ADVERTISED_ASIN_UNITS FLOAT,
    _LAST_UPDATED_ON TIMESTAMP_LTZ,
    _PARTNERUUID TEXT,
    14_DAY_CONVERSION_RATE FLOAT,
    TOTAL_RETURN_ON_ADVERTISING_SPEND_ROAS FLOAT,
    TOTAL_ADVERTISING_COST_OF_SALES_ACOS FLOAT,
    CURRENCY TEXT,
    _REVISION NUMBER,
    14_DAY_ADVERTISED_ASIN_SALES FLOAT,
    ID NUMBER
);

INSERT INTO "AMAZON_VENDOR_ANALYTICS__SAMPLE_DATASET"."PUBLIC"."ADS_SPONSORED_PRODUCTS_SEARCH_TERM_VC" (CLICK_THRU_RATE_CTR, MATCH_TYPE, IMPRESSIONS, DATE, CAMPAIGN_NAME, 14_DAY_TOTAL_SALES, 14_DAY_TOTAL_ORDERS, COST_PER_CLICK_CPC, CLICKS, PORTFOLIO_NAME, TARGETING, CUSTOMER_SEARCH_TERM, AD_GROUP_NAME, 14_DAY_BRAND_HALO_ASIN_SALES, _CREATED_ON, ROW_INDEX, 14_DAY_TOTAL_UNITS, SPEND, 14_DAY_ADVERTISED_ASIN_UNITS, _LAST_UPDATED_ON, _PARTNERUUID, 14_DAY_CONVERSION_RATE, TOTAL_RETURN_ON_ADVERTISING_SPEND_ROAS, TOTAL_ADVERTISING_COST_OF_SALES_ACOS, CURRENCY, _REVISION, 14_DAY_ADVERTISED_ASIN_SALES, ID) VALUES (0.006526206, 'EXACT', 24823.0, '2021-09-05 00:00:00-07:00', 'NAME_20', 0.0, 30.0, 0.923333333, 162.0, 'NAME_2', 'PRODUCT_2', 'SEARCH_2', 'NAME_130', 'ASIN_2767', '2021-11-09 13:48:38-08:00', 2, 30.0, 149.58, 28.0, '2021-10-25 13:48:38-07:00', '0ba25d78-760e-4541-8eca-e4ff8292d0b1', 0.185185185, 14.78118732, 0.067653564, 'GBP', 1, 0.0, 168543), (0.022597294, 'EXACT', 7169.0, '2021-09-06 00:00:00-07:00', 'NAME_34', 0.0, 33.0, 1.693395062, 162.0, 'NAME_2', 'PRODUCT_5', 'SEARCH_5', 'NAME_134', 'ASIN_2767', '2021-11-09 13:48:38-08:00', 9, 33.0, 274.33, 32.0, '2021-10-25 13:48:38-07:00', '0ba25d78-760e-4541-8eca-e4ff8292d0b1', 0.203703704, 12.01013378, 0.083263019, 'GBP', 1, 0.0, 168575), (0.171779141, 'EXACT', 489.0, '2021-09-06 00:00:00-07:00', 'NAME_34', 0.0, 28.0, 1.69047619, 84.0, 'NAME_2', 'PRODUCT_20', 'SEARCH_22', 'NAME_134', 'ASIN_2767', '2021-11-09 13:48:38-08:00', 16, 28.0, 142.0, 27.0, '2021-10-25 13:48:38-07:00', '0ba25d78-760e-4541-8eca-e4ff8292d0b1', 0.333333333, 17.58964789, 0.056851621, 'GBP', 1, 0.0, 168582), (0.319838057, 'PHRASE', 247.0, '2021-09-06 00:00:00-07:00', 'NAME_58', 0.0, 27.0, 1.696835443, 79.0, 'NAME_3', 'PRODUCT_21', 'SEARCH_23', 'NAME_58', 'ASIN_2767', '2021-11-09 13:48:38-08:00', 18, 28.0, 134.05, 27.0, '2021-10-25 13:48:38-07:00', '0ba25d78-760e-4541-8eca-e4ff8292d0b1', 0.341772152, 17.86064901, 0.055989007, 'GBP', 1, 0.0, 168584), (0.03613808, 'EXACT', 1854.0, '2021-09-06 00:00:00-07:00', 'NAME_40', 0.0, 22.0, 1.622537313, 67.0, 'NAME_1', 'PRODUCT_22', 'SEARCH_27', 'NAME_147', 'ASIN_2767', '2021-11-09 13:48:38-08:00', 23, 22.0, 108.71, 20.0, '2021-10-25 13:48:38-07:00', '0ba25d78-760e-4541-8eca-e4ff8292d0b1', 0.328358209, 14.27550363, 0.070050068, 'GBP', 1, 0.0, 168589);