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

INSERT INTO "AMAZON_VENDOR_ANALYTICS__SAMPLE_DATASET"."PUBLIC"."PAYMENTS_DISTRIBUTOR_RETURNS_DETAILS" (INVOICE, PRODUCT_GROUP, _ROW_INDEX, REBATE_IN_AGREEMENT_CURRENCY, EAN, OLD_COST, PURCHASE_ORDER_CURRENCY, CATEGORY, LIST_PRICE_CURRENCY, TITLE, ASIN, AGREEMENT_CURRENCY, INVOICE_DATE, LIST_PRICE, MANUFACTURER, _CREATED_ON, BINDING, INVOICE_DAY, UPC, DISTRIBUTOR, RETURN_DATE, AGREEMENT_ID, RECEIVE_DATE, NET_RECEIPTS, _REVISION, COST_CURRENCY, _PARTNERUUID, SUBCATEGORY, NET_RECEIPTS_CURRENCY, PRICE_PROTECTION_AGREEMENT, NEW_COST, QUANTITY, PURCHASE_ORDER, COST_VARIANCE, INVOICE_ID, PRODUCT_DESCRIPTION, TRANSACTION_TYPE, PRICE_PROTECTION_DAY, _LAST_UPDATED_ON, REBATE_IN_PURCHASE_ORDER_CURRENCY, ID) VALUES ('', 194.0, 0.0, -0.15375, 'EAN_63', '', '', '#_118', 'GBP', 'TITLE_25', 'ASIN_22', 'GBP', '2021-06-12 00:00:00-07:00', 12.08, 'CREATIVE_5', '2022-05-30 23:43:43-07:00', '#_1', '', 'UPC_257', 'C******5', '2021-06-19 00:00:00-07:00', 'ID_210', NULL, 10.25, 3, '', '0ba25d78-760e-4541-8eca-e4ff8292d0b1', '#_122', 'GBP', '', '', 1.0, 'UPC_257', '', 'ID_88', 'Random Description', 'Distributor Return', '', '2022-05-26 18:00:17-07:00', 0.0, 19318), ('', 364.0, 1.0, -1.59, 'EAN_114', '', '', '#_111', 'GBP', 'TITLE_91', 'ASIN_3679', 'GBP', '2021-06-12 00:00:00-07:00', 132.5, 'CREATIVE_2', '2022-05-30 23:43:43-07:00', '#_1', '', 'UPC_257', 'C******2', '2021-06-11 00:00:00-07:00', 'ID_210', NULL, 106.0, 3, '', '0ba25d78-760e-4541-8eca-e4ff8292d0b1', '#_115', 'GBP', '', '', 1.0, 'UPC_257', '', 'ID_88', 'Random Description', 'Distributor Return', '', '2022-05-26 18:00:17-07:00', 0.0, 19285), ('', 364.0, 0.0, -0.16185, 'EAN_74', '', '', '#_111', 'GBP', 'TITLE_33', 'ASIN_3654', 'GBP', '2021-06-12 00:00:00-07:00', 16.25, 'CREATIVE_5', '2022-05-30 23:43:43-07:00', '#_1', '', 'UPC_1455', 'C******5', '2021-06-11 00:00:00-07:00', 'ID_210', NULL, 10.79, 3, '', '0ba25d78-760e-4541-8eca-e4ff8292d0b1', '#_113', 'GBP', '', '', 1.0, 'UPC_257', '', 'ID_88', 'Random Description', 'Distributor Return', '', '2022-05-26 18:00:17-07:00', 0.0, 19284), ('', 364.0, 1.0, -1.59, 'EAN_1', '', '', '#_111', 'GBP', 'TITLE_1', 'ASIN_15', 'GBP', '2021-06-12 00:00:00-07:00', 132.5, 'CREATIVE_2', '2022-05-30 23:43:43-07:00', '#_1', '', 'UPC_257', 'C******2', '2021-06-29 00:00:00-07:00', 'ID_210', NULL, 106.0, 3, '', '0ba25d78-760e-4541-8eca-e4ff8292d0b1', '#_116', 'GBP', '', '', 1.0, 'UPC_257', '', 'ID_88', 'Random Description', 'Distributor Return', '', '2022-05-26 18:00:17-07:00', 0.0, 19282), ('', 194.0, 2.0, -0.0982, 'EAN_63', '', '', '#_118', 'GBP', 'TITLE_25', 'ASIN_22', 'GBP', '2021-06-12 00:00:00-07:00', 12.08, 'CREATIVE_5', '2022-05-30 23:47:43-07:00', '#_1', '', 'UPC_257', 'C******5', '2021-06-11 00:00:00-07:00', 'ID_206', NULL, 9.82, 3, '', '0ba25d78-760e-4541-8eca-e4ff8292d0b1', '#_122', 'GBP', '', '', 1.0, 'UPC_257', '', 'ID_93', 'Random Description', 'Distributor Return', '', '2022-05-26 18:03:37-07:00', 0.0, 20683);