-- DBMS: snowflake
CREATE TABLE AMAZON_VENDOR_ANALYTICS__SAMPLE_DATASET.PUBLIC.RETAIL_ANALYTICS_INVENTORY (
    OPEN_PURCHASE_ORDER_QUANTITY NUMBER,
    RECEIVE_FILL_RATE_LAST_YEAR FLOAT,
    DATE TIMESTAMP_LTZ,
    OPEN_PURCHASE_ORDER_QUANTITY_PRIOR_PERIOD FLOAT,
    ASIN TEXT,
    UNHEALTHY_UNITS_PRIOR_PERIOD FLOAT,
    DISTRIBUTOR_VIEW TEXT,
    NET_RECEIVED_UNITS NUMBER,
    SELLABLE_ON_HAND_UNITS_LAST_YEAR FLOAT,
    NET_RECEIVED_LAST_YEAR FLOAT,
    UNSELLABLE_ON_HAND_UNITS NUMBER,
    SELL_THROUGH_RATE_LAST_YEAR FLOAT,
    SELLABLE_ON_HAND_INVENTORY FLOAT,
    NET_RECEIVED_PRIOR_PERIOD FLOAT,
    SELLABLE_ON_HAND_INVENTORY_PRIOR_PERIOD FLOAT,
    OVERALL_VENDOR_LEAD_TIME_DAYS FLOAT,
    AGED_90PLUS_DAYS_SELLABLE_UNITS_LAST_YEAR FLOAT,
    SELL_THROUGH_RATE FLOAT,
    _PARTNERUUID TEXT,
    VENDOR_CONFIRMATION_RATE FLOAT,
    AGED_90PLUS_DAYS_SELLABLE_UNITS NUMBER,
    OVERALL_VENDOR_LEAD_TIME_DAYS_LAST_YEAR FLOAT,
    OPEN_PURCHASE_ORDER_QUANTITY_LAST_YEAR FLOAT,
    _REVISION NUMBER,
    UNHEALTHY_INVENTORY_LAST_YEAR FLOAT,
    PROCURABLE_PRODUCT_OOS FLOAT,
    UNHEALTHY_INVENTORY FLOAT,
    AGED_90PLUS_DAYS_SELLABLE_INVENTORY_LAST_YEAR FLOAT,
    PRODUCT_TITLE TEXT,
    SELL_THROUGH_RATE_PRIOR_PERIOD FLOAT,
    _LAST_UPDATED_ON TIMESTAMP_LTZ,
    UNFILLED_CUSTOMER_ORDERED_UNITS NUMBER,
    NET_RECEIVED_UNITS_LAST_YEAR FLOAT,
    RAW_RECORD TEXT,
    PERIOD TEXT,
    NET_RECEIVED FLOAT,
    SELLABLE_ON_HAND_UNITS NUMBER,
    PROGRAM TEXT,
    VENDOR_CONFIRMATION_RATE_LAST_YEAR FLOAT,
    UNSELLABLE_ON_HAND_INVENTORY_PRIOR_PERIOD FLOAT,
    NET_RECEIVED_UNITS_PRIOR_PERIOD FLOAT,
    UNHEALTHY_UNITS NUMBER,
    SELLABLE_ON_HAND_INVENTORY_LAST_YEAR FLOAT,
    RECEIVE_FILL_RATE FLOAT,
    UNHEALTHY_INVENTORY_PRIOR_PERIOD FLOAT,
    VENDOR_CONFIRMATION_RATE_PRIOR_PERIOD FLOAT,
    PROCURABLE_PRODUCT_OOS_PRIOR_PERIOD FLOAT,
    UNFILLED_CUSTOMER_ORDERED_UNITS_LAST_YEAR FLOAT,
    PROCURABLE_PRODUCT_OOS_LAST_YEAR FLOAT,
    AGED_90PLUS_DAYS_SELLABLE_INVENTORY_PRIOR_PERIOD FLOAT,
    RECEIVE_FILL_RATE_PRIOR_PERIOD FLOAT,
    _CREATED_ON TIMESTAMP_LTZ,
    OVERALL_VENDOR_LEAD_TIME_DAYS_PRIOR_PERIOD FLOAT,
    AGED_90PLUS_DAYS_SELLABLE_UNITS_PRIOR_PERIOD FLOAT,
    UNSELLABLE_ON_HAND_UNITS_LAST_YEAR FLOAT,
    UNHEALTHY_UNITS_LAST_YEAR FLOAT,
    ID NUMBER,
    UNSELLABLE_ON_HAND_INVENTORY_LAST_YEAR FLOAT,
    UNFILLED_CUSTOMER_ORDERED_UNITS_PRIOR_PERIOD FLOAT,
    UNSELLABLE_ON_HAND_INVENTORY FLOAT,
    AGED_90PLUS_DAYS_SELLABLE_INVENTORY FLOAT,
    SELLABLE_ON_HAND_UNITS_PRIOR_PERIOD FLOAT,
    UNSELLABLE_ON_HAND_UNITS_PRIOR_PERIOD FLOAT
);

INSERT INTO "AMAZON_VENDOR_ANALYTICS__SAMPLE_DATASET"."PUBLIC"."RETAIL_ANALYTICS_INVENTORY" (OPEN_PURCHASE_ORDER_QUANTITY, RECEIVE_FILL_RATE_LAST_YEAR, DATE, OPEN_PURCHASE_ORDER_QUANTITY_PRIOR_PERIOD, ASIN, UNHEALTHY_UNITS_PRIOR_PERIOD, DISTRIBUTOR_VIEW, NET_RECEIVED_UNITS, SELLABLE_ON_HAND_UNITS_LAST_YEAR, NET_RECEIVED_LAST_YEAR, UNSELLABLE_ON_HAND_UNITS, SELL_THROUGH_RATE_LAST_YEAR, SELLABLE_ON_HAND_INVENTORY, NET_RECEIVED_PRIOR_PERIOD, SELLABLE_ON_HAND_INVENTORY_PRIOR_PERIOD, OVERALL_VENDOR_LEAD_TIME_DAYS, AGED_90PLUS_DAYS_SELLABLE_UNITS_LAST_YEAR, SELL_THROUGH_RATE, _PARTNERUUID, VENDOR_CONFIRMATION_RATE, AGED_90PLUS_DAYS_SELLABLE_UNITS, OVERALL_VENDOR_LEAD_TIME_DAYS_LAST_YEAR, OPEN_PURCHASE_ORDER_QUANTITY_LAST_YEAR, _REVISION, UNHEALTHY_INVENTORY_LAST_YEAR, PROCURABLE_PRODUCT_OOS, UNHEALTHY_INVENTORY, AGED_90PLUS_DAYS_SELLABLE_INVENTORY_LAST_YEAR, PRODUCT_TITLE, SELL_THROUGH_RATE_PRIOR_PERIOD, _LAST_UPDATED_ON, UNFILLED_CUSTOMER_ORDERED_UNITS, NET_RECEIVED_UNITS_LAST_YEAR, RAW_RECORD, PERIOD, NET_RECEIVED, SELLABLE_ON_HAND_UNITS, PROGRAM, VENDOR_CONFIRMATION_RATE_LAST_YEAR, UNSELLABLE_ON_HAND_INVENTORY_PRIOR_PERIOD, NET_RECEIVED_UNITS_PRIOR_PERIOD, UNHEALTHY_UNITS, SELLABLE_ON_HAND_INVENTORY_LAST_YEAR, RECEIVE_FILL_RATE, UNHEALTHY_INVENTORY_PRIOR_PERIOD, VENDOR_CONFIRMATION_RATE_PRIOR_PERIOD, PROCURABLE_PRODUCT_OOS_PRIOR_PERIOD, UNFILLED_CUSTOMER_ORDERED_UNITS_LAST_YEAR, PROCURABLE_PRODUCT_OOS_LAST_YEAR, AGED_90PLUS_DAYS_SELLABLE_INVENTORY_PRIOR_PERIOD, RECEIVE_FILL_RATE_PRIOR_PERIOD, _CREATED_ON, OVERALL_VENDOR_LEAD_TIME_DAYS_PRIOR_PERIOD, AGED_90PLUS_DAYS_SELLABLE_UNITS_PRIOR_PERIOD, UNSELLABLE_ON_HAND_UNITS_LAST_YEAR, UNHEALTHY_UNITS_LAST_YEAR, ID, UNSELLABLE_ON_HAND_INVENTORY_LAST_YEAR, UNFILLED_CUSTOMER_ORDERED_UNITS_PRIOR_PERIOD, UNSELLABLE_ON_HAND_INVENTORY, AGED_90PLUS_DAYS_SELLABLE_INVENTORY, SELLABLE_ON_HAND_UNITS_PRIOR_PERIOD, UNSELLABLE_ON_HAND_UNITS_PRIOR_PERIOD) VALUES (1841, NULL, '2021-01-12 00:00:00-08:00', NULL, 'ASIN_5', NULL, 'Manufacturing', 0, NULL, NULL, 10, NULL, 128203.63, NULL, NULL, 0.0, NULL, 0.0, '0ba25d78-760e-4541-8eca-e4ff8292d0b1', 0.0, 425, NULL, NULL, 2, NULL, 0.0, 0.0, NULL, 'TITLE_5', NULL, '2023-01-11 08:45:26-08:00', 348, NULL, NULL, 'DAILY', 0.0, 2846, 'Amazon Retail', NULL, NULL, NULL, 0, NULL, 0.0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2023-01-11 08:44:17-08:00', NULL, NULL, NULL, NULL, 9, NULL, NULL, 443.14, 18419.05, NULL, NULL), (348, NULL, '2021-01-12 00:00:00-08:00', NULL, 'ASIN_11', NULL, 'Sourcing', 0, NULL, NULL, 490, NULL, 64500.96, NULL, NULL, 11.54, NULL, 0.0, '0ba25d78-760e-4541-8eca-e4ff8292d0b1', 0.0, 267, NULL, NULL, 1, NULL, 0.0, 0.0, NULL, 'TITLE_11', NULL, '2023-01-12 08:24:28-08:00', 0, NULL, NULL, 'DAILY', 0.0, 3984, 'Amazon Retail', NULL, NULL, NULL, 0, NULL, 0.0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2023-01-12 08:24:28-08:00', NULL, NULL, NULL, NULL, 22, NULL, NULL, 7933.1, 4322.73, NULL, NULL), (2227, NULL, '2021-01-14 00:00:00-08:00', NULL, 'ASIN_2', NULL, 'Manufacturing', 0, NULL, NULL, 16, NULL, 164331.69, NULL, NULL, 0.0, NULL, 0.0, '0ba25d78-760e-4541-8eca-e4ff8292d0b1', 1.0, 133, NULL, NULL, 1, NULL, 0.0, 0.0, NULL, 'TITLE_2', NULL, '2022-12-26 11:48:03-08:00', 413, NULL, NULL, 'DAILY', 0.0, 2819, 'Amazon Retail', NULL, NULL, NULL, 0, NULL, 1.0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2022-12-26 11:48:03-08:00', NULL, NULL, NULL, NULL, 53, NULL, NULL, 874.65, 7755.23, NULL, NULL), (1841, NULL, '2021-01-14 00:00:00-08:00', NULL, 'ASIN_5', NULL, 'Manufacturing', 0, NULL, NULL, 8, NULL, 126942.87, NULL, NULL, 0.0, NULL, 0.0, '0ba25d78-760e-4541-8eca-e4ff8292d0b1', 1.0, 396, NULL, NULL, 1, NULL, 0.0, 0.0, NULL, 'TITLE_5', NULL, '2022-12-26 11:48:03-08:00', 333, NULL, NULL, 'DAILY', 0.0, 2817, 'Amazon Retail', NULL, NULL, NULL, 0, NULL, 1.0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2022-12-26 11:48:03-08:00', NULL, NULL, NULL, NULL, 59, NULL, NULL, 355.03, 17158.29, NULL, NULL), (300, NULL, '2021-01-14 00:00:00-08:00', NULL, 'ASIN_7', NULL, 'Manufacturing', 0, NULL, NULL, 0, NULL, 112016.18, NULL, NULL, 0.0, NULL, 0.0, '0ba25d78-760e-4541-8eca-e4ff8292d0b1', 1.0, 187, NULL, NULL, 1, NULL, 0.0, 0.0, NULL, 'TITLE_7', NULL, '2022-12-26 11:48:03-08:00', 106, NULL, NULL, 'DAILY', 0.0, 1330, 'Amazon Retail', NULL, NULL, NULL, 0, NULL, 1.0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2022-12-26 11:48:03-08:00', NULL, NULL, NULL, NULL, 61, NULL, NULL, 0.0, 15741.29, NULL, NULL);