-- DBMS: snowflake
CREATE TABLE AMAZON_VENDOR_ANALYTICS__SAMPLE_DATASET.PUBLIC.PAYMENTS_COST_VARIANCE_DISTRIBUTOR_DETAILS (
    LIST_PRICE FLOAT,
    QUANTITY FLOAT,
    RETURN_DATE TIMESTAMP_LTZ,
    INVOICE_ID TEXT,
    LIST_PRICE_CURRENCY TEXT,
    CATEGORY TEXT,
    _REVISION NUMBER,
    PRICE_PROTECTION_DAY TEXT,
    SUBCATEGORY TEXT,
    _ROW_INDEX FLOAT,
    BINDING TEXT,
    OLD_COST TEXT,
    TRANSACTION_TYPE TEXT,
    REBATE_IN_AGREEMENT_CURRENCY FLOAT,
    PURCHASE_ORDER_CURRENCY TEXT,
    INVOICE TEXT,
    MANUFACTURER TEXT,
    AGREEMENT_ID TEXT,
    TITLE TEXT,
    COST_CURRENCY TEXT,
    NET_RECEIPTS FLOAT,
    INVOICE_DAY TEXT,
    UPC TEXT,
    EAN TEXT,
    REBATE_IN_PURCHASE_ORDER_CURRENCY FLOAT,
    _CREATED_ON TIMESTAMP_LTZ,
    COST_VARIANCE TEXT,
    ID NUMBER,
    PRICE_PROTECTION_AGREEMENT TEXT,
    INVOICE_DATE TIMESTAMP_LTZ,
    AGREEMENT_CURRENCY TEXT,
    _LAST_UPDATED_ON TIMESTAMP_LTZ,
    PRODUCT_GROUP FLOAT,
    ASIN TEXT,
    PURCHASE_ORDER TEXT,
    NET_RECEIPTS_CURRENCY TEXT,
    DISTRIBUTOR TEXT,
    RECEIVE_DATE TIMESTAMP_LTZ,
    PRODUCT_DESCRIPTION TEXT,
    NEW_COST TEXT,
    _PARTNERUUID TEXT
);

INSERT INTO "AMAZON_VENDOR_ANALYTICS__SAMPLE_DATASET"."PUBLIC"."PAYMENTS_COST_VARIANCE_DISTRIBUTOR_DETAILS" (LIST_PRICE, QUANTITY, RETURN_DATE, INVOICE_ID, LIST_PRICE_CURRENCY, CATEGORY, _REVISION, PRICE_PROTECTION_DAY, SUBCATEGORY, _ROW_INDEX, BINDING, OLD_COST, TRANSACTION_TYPE, REBATE_IN_AGREEMENT_CURRENCY, PURCHASE_ORDER_CURRENCY, INVOICE, MANUFACTURER, AGREEMENT_ID, TITLE, COST_CURRENCY, NET_RECEIPTS, INVOICE_DAY, UPC, EAN, REBATE_IN_PURCHASE_ORDER_CURRENCY, _CREATED_ON, COST_VARIANCE, ID, PRICE_PROTECTION_AGREEMENT, INVOICE_DATE, AGREEMENT_CURRENCY, _LAST_UPDATED_ON, PRODUCT_GROUP, ASIN, PURCHASE_ORDER, NET_RECEIPTS_CURRENCY, DISTRIBUTOR, RECEIVE_DATE, PRODUCT_DESCRIPTION, NEW_COST, _PARTNERUUID) VALUES (0.0, 6.0, NULL, 'ID_63', '', '#_110', 3, '', '#_112', 0.0, '#_1', '', 'Cost Variance Distributor Shipment', 0.0294, 'GBP', '148256534', 'CREATIVE_1', 'ID_208', 'TITLE_44', '', 0.0, '2020-10-09', 'UPC_256', 'EAN_23', 0.0294, '2022-03-30 23:10:40-07:00', '5.88', 30653, '', '2021-08-11 00:00:00-07:00', 'GBP', '2022-03-27 17:43:08-07:00', 194.0, 'ASIN_3656', 'UPC_84', '', 'C******1', '2021-07-25 00:00:00-07:00', 'Random Description', '', '0ba25d78-760e-4541-8eca-e4ff8292d0b1'), (0.0, 6.0, NULL, 'ID_70', '', '#_110', 3, '', '#_112', 0.0, '#_1', '', 'Cost Variance Distributor Shipment', 0.0015, 'GBP', '146146318', 'CREATIVE_1', 'ID_207', 'TITLE_72', '', 0.0, '2020-09-12', 'UPC_257', 'EAN_33', 0.0015, '2022-03-30 23:02:46-07:00', '0.06', 30654, '', '2021-07-12 00:00:00-07:00', 'GBP', '2022-03-27 17:36:01-07:00', 194.0, 'ASIN_26', 'UPC_37', '', 'C******1', '2021-06-30 00:00:00-07:00', 'Random Description', '', '0ba25d78-760e-4541-8eca-e4ff8292d0b1'), (0.0, 6.0, NULL, 'ID_70', '', '#_111', 3, '', '#_116', 0.0, '#_1', '', 'Cost Variance Distributor Shipment', -1.0305, 'GBP', '150101288', 'CREATIVE_2', 'ID_207', 'TITLE_42', '', 0.0, '2020-10-19', 'UPC_257', 'EAN_32', -1.0305, '2022-03-30 23:02:46-07:00', '-41.22', 30656, '', '2021-07-12 00:00:00-07:00', 'GBP', '2022-03-27 17:36:01-07:00', 364.0, 'ASIN_1', 'UPC_110', '', 'C******2', '2021-08-07 00:00:00-07:00', 'Random Description', '', '0ba25d78-760e-4541-8eca-e4ff8292d0b1'), (0.0, 50.0, NULL, 'ID_70', '', '#_110', 3, '', '#_114', 0.0, '#_1', '', 'Cost Variance Distributor Shipment', -0.875, 'GBP', '147157236', 'CREATIVE_1', 'ID_207', 'TITLE_55', '', 0.0, '2020-09-25', 'UPC_257', 'EAN_26', -0.875, '2022-03-30 23:02:46-07:00', '-35', 30658, '', '2021-07-12 00:00:00-07:00', 'GBP', '2022-03-27 17:36:01-07:00', 194.0, 'ASIN_3658', 'UPC_33', '', 'C******1', '2021-07-15 00:00:00-07:00', 'Random Description', '', '0ba25d78-760e-4541-8eca-e4ff8292d0b1'), (0.0, 1.0, NULL, 'ID_66', '', '#_111', 3, '', '#_113', 0.0, '#_1', '', 'Cost Variance Distributor Shipment', 0.0783, 'GBP', '149888965', 'CREATIVE_2', 'ID_206', 'TITLE_41', '', 0.0, '2020-09-20', 'UPC_257', 'EAN_38', 0.0783, '2022-03-30 23:11:04-07:00', '7.83', 30680, '', '2021-08-11 00:00:00-07:00', 'GBP', '2022-03-27 17:43:36-07:00', 364.0, 'ASIN_4', 'UPC_101', '', 'C******2', '2021-07-06 00:00:00-07:00', 'Random Description', '', '0ba25d78-760e-4541-8eca-e4ff8292d0b1');