nl2sqlproj/spider2-nl2sql huggingface dataset:
-- DBMS: snowflake
CREATE TABLE AMAZON_VENDOR_ANALYTICS__SAMPLE_DATASET.PUBLIC.BRAND_REPEAT_BEHAVIOR_PURCHASE_VC (
    DATE TIMESTAMP_LTZ,
    REPEAT_PURCHASE_REVENUE_TOTAL_PERCENTAGE_RAW TEXT,
    PERIOD TEXT,
    _PARTNERUUID TEXT,
    ID NUMBER,
    PRODUCT_TITLE TEXT,
    REPEAT_PURCHASE_REVENUE FLOAT,
    ASIN TEXT,
    UNIQUE_CUSTOMERS FLOAT,
    REPEAT_PURCHASE_REVENUE_TOTAL_PERCENTAGE FLOAT,
    ORDERS FLOAT,
    REPEAT_PURCHASE_REVENUE_RAW TEXT,
    _REVISION NUMBER,
    _CREATED_ON TIMESTAMP_LTZ,
    REPEAT_PURCHASE_REVENUE_PRIOR_PERIOD FLOAT,
    _LAST_UPDATED_ON TIMESTAMP_LTZ,
    REPEAT_PURCHASE_REVENUE_PRIOR_PERIOD_RAW TEXT,
    REPEAT_CUSTOMERS_TOTAL_PERCENTAGE_RAW TEXT,
    REPEAT_CUSTOMERS_TOTAL_PERCENTAGE FLOAT
);

INSERT INTO "AMAZON_VENDOR_ANALYTICS__SAMPLE_DATASET"."PUBLIC"."BRAND_REPEAT_BEHAVIOR_PURCHASE_VC" (DATE, REPEAT_PURCHASE_REVENUE_TOTAL_PERCENTAGE_RAW, PERIOD, _PARTNERUUID, ID, PRODUCT_TITLE, REPEAT_PURCHASE_REVENUE, ASIN, UNIQUE_CUSTOMERS, REPEAT_PURCHASE_REVENUE_TOTAL_PERCENTAGE, ORDERS, REPEAT_PURCHASE_REVENUE_RAW, _REVISION, _CREATED_ON, REPEAT_PURCHASE_REVENUE_PRIOR_PERIOD, _LAST_UPDATED_ON, REPEAT_PURCHASE_REVENUE_PRIOR_PERIOD_RAW, REPEAT_CUSTOMERS_TOTAL_PERCENTAGE_RAW, REPEAT_CUSTOMERS_TOTAL_PERCENTAGE) VALUES ('2022-07-12 00:00:00-07:00', NULL, 'WEEKLY', '0ba25d78-760e-4541-8eca-e4ff8292d0b1', 33568, 'TITLE_171', 0.0, 'ASIN_170', 0.0, 0.0, 0.0, NULL, 1, '2022-07-24 15:46:38-07:00', 0.0, '2022-07-23 15:46:38-07:00', NULL, NULL, 0.0), ('2022-05-17 00:00:00-07:00', NULL, 'WEEKLY', '0ba25d78-760e-4541-8eca-e4ff8292d0b1', 33303, 'TITLE_338', 0.0, 'ASIN_51', 0.0, 0.0, 0.0, NULL, 1, '2022-07-24 15:52:20-07:00', 0.0, '2022-07-23 15:52:20-07:00', NULL, NULL, 0.0), ('2022-07-26 00:00:00-07:00', NULL, 'WEEKLY', '0ba25d78-760e-4541-8eca-e4ff8292d0b1', 33636, 'TITLE_579', 0.0, 'ASIN_474', 8.0, 0.0, 8.0, NULL, 6, '2022-07-29 16:22:16-07:00', -1.0, '2022-08-01 06:19:42-07:00', NULL, NULL, 0.0), ('2022-10-25 00:00:00-07:00', NULL, 'MONTHLY', '0ba25d78-760e-4541-8eca-e4ff8292d0b1', 34011, 'TITLE_730', 0.0, 'ASIN_580', 1.0, 0.0, 1.0, NULL, 85, '2022-11-17 15:03:28-08:00', 0.0, '2022-12-16 06:57:30-08:00', NULL, NULL, 0.0), ('2022-11-01 00:00:00-07:00', NULL, 'WEEKLY', '0ba25d78-760e-4541-8eca-e4ff8292d0b1', 34024, 'TITLE_129', 0.0, 'ASIN_128', 0.0, 0.0, 0.0, NULL, 51, '2022-11-01 07:45:16-07:00', 0.0, '2022-11-19 08:27:15-08:00', NULL, NULL, 0.0);
-- DBMS: snowflake
CREATE TABLE AMAZON_VENDOR_ANALYTICS__SAMPLE_DATASET.PUBLIC.BRAND_DEMOGRAPHICS_AGE_VC (
    _PARTNERUUID TEXT,
    ORDERED_REVENUE_PERCENTAGE_OF_TOTAL FLOAT,
    ORDERED_REVENUE_RAW TEXT,
    AGE TEXT,
    UNIQUE_CUSTOMERS FLOAT,
    ORDERED_REVENUE FLOAT,
    UNIQUE_CUSTOMERS_PERCENTAGE_OF_TOTAL FLOAT,
    _LAST_UPDATED_ON TIMESTAMP_LTZ,
    ORDERED_REVENUE_PERCENTAGE_OF_TOTAL_RAW TEXT,
    ORDERED_UNITS FLOAT,
    ORDERED_UNITS_PERCENTAGE_OF_TOTAL_RAW TEXT,
    PERIOD TEXT,
    ID NUMBER,
    ORDERED_UNITS_RAW TEXT,
    _CREATED_ON TIMESTAMP_LTZ,
    ORDERED_UNITS_PERCENTAGE_OF_TOTAL FLOAT,
    UNIQUE_CUSTOMERS_PERCENTAGE_OF_TOTAL_RAW TEXT,
    DATE TIMESTAMP_LTZ,
    _REVISION NUMBER
);

INSERT INTO "AMAZON_VENDOR_ANALYTICS__SAMPLE_DATASET"."PUBLIC"."BRAND_DEMOGRAPHICS_AGE_VC" (_PARTNERUUID, ORDERED_REVENUE_PERCENTAGE_OF_TOTAL, ORDERED_REVENUE_RAW, AGE, UNIQUE_CUSTOMERS, ORDERED_REVENUE, UNIQUE_CUSTOMERS_PERCENTAGE_OF_TOTAL, _LAST_UPDATED_ON, ORDERED_REVENUE_PERCENTAGE_OF_TOTAL_RAW, ORDERED_UNITS, ORDERED_UNITS_PERCENTAGE_OF_TOTAL_RAW, PERIOD, ID, ORDERED_UNITS_RAW, _CREATED_ON, ORDERED_UNITS_PERCENTAGE_OF_TOTAL, UNIQUE_CUSTOMERS_PERCENTAGE_OF_TOTAL_RAW, DATE, _REVISION) VALUES ('0ba25d78-760e-4541-8eca-e4ff8292d0b1', 1.0, NULL, 'Total', 9088.0, 60757.23, 1.0, '2022-07-19 01:57:20-07:00', NULL, 9901.0, NULL, 'WEEKLY', 28177, NULL, '2022-07-14 03:28:49-07:00', 1.0, NULL, '2021-08-31 00:00:00-07:00', 3), ('0ba25d78-760e-4541-8eca-e4ff8292d0b1', 0.2321, NULL, '25-34', 6234.0, 34407.35, 0.233, '2022-07-18 22:28:00-07:00', NULL, 6740.0, NULL, 'WEEKLY', 28108, NULL, '2022-07-13 21:05:43-07:00', 0.2295, NULL, '2022-07-12 00:00:00-07:00', 4), ('0ba25d78-760e-4541-8eca-e4ff8292d0b1', 0.1946, NULL, '35-44', 2480.0, 15923.66, 0.1978, '2022-07-19 03:13:12-07:00', NULL, 2640.0, NULL, 'WEEKLY', 27921, NULL, '2022-07-14 03:54:06-07:00', 0.1977, NULL, '2021-08-03 00:00:00-07:00', 3), ('0ba25d78-760e-4541-8eca-e4ff8292d0b1', 0.0425, NULL, 'Information Not Available', 448.0, 3360.76, 0.042, '2022-07-19 03:13:35-07:00', NULL, 472.0, NULL, 'WEEKLY', 27990, NULL, '2022-07-14 04:36:37-07:00', 0.0415, NULL, '2021-06-29 00:00:00-07:00', 3), ('0ba25d78-760e-4541-8eca-e4ff8292d0b1', 0.0913, NULL, '65+', 957.0, 7224.28, 0.0897, '2022-07-19 03:13:35-07:00', NULL, 1069.0, NULL, 'WEEKLY', 27989, NULL, '2022-07-14 04:36:37-07:00', 0.094, NULL, '2021-06-29 00:00:00-07:00', 3);
-- DBMS: snowflake
CREATE TABLE AMAZON_VENDOR_ANALYTICS__SAMPLE_DATASET.PUBLIC.PAYMENTS_COUPON_CLIPS (
    AGREEMENT_ID TEXT,
    INVOICE_ID TEXT,
    _REVISION NUMBER,
    PROMOTION_ID TEXT,
    CLIPPED_SOURCE TEXT,
    _PARTNERUUID TEXT,
    _LAST_UPDATED_ON TIMESTAMP_LTZ,
    CLIP_FEE FLOAT,
    CLIPPED_COUPONS FLOAT,
    PROMOTION_DESCRIPTION TEXT,
    TOTAL_CLIP_FEE FLOAT,
    _CREATED_ON TIMESTAMP_LTZ,
    INVOICE_DATE TIMESTAMP_LTZ,
    ID NUMBER,
    CLIP_DAY TIMESTAMP_LTZ
);

INSERT INTO "AMAZON_VENDOR_ANALYTICS__SAMPLE_DATASET"."PUBLIC"."PAYMENTS_COUPON_CLIPS" (AGREEMENT_ID, INVOICE_ID, _REVISION, PROMOTION_ID, CLIPPED_SOURCE, _PARTNERUUID, _LAST_UPDATED_ON, CLIP_FEE, CLIPPED_COUPONS, PROMOTION_DESCRIPTION, TOTAL_CLIP_FEE, _CREATED_ON, INVOICE_DATE, ID, CLIP_DAY) VALUES ('ID_456', 'ID_385', 37, 'ID_469', 'DEFAULT', '0ba25d78-760e-4541-8eca-e4ff8292d0b1', '2023-01-10 23:00:28-08:00', 0.0, 64.0, 'Random Description', 0.0, '2023-01-10 22:55:47-08:00', '2023-01-10 00:00:00-08:00', 22211, '2023-01-09 00:00:00-08:00'), ('ID_456', 'ID_385', 37, 'ID_469', 'AMG', '0ba25d78-760e-4541-8eca-e4ff8292d0b1', '2023-01-10 23:00:28-08:00', 0.0, 2.0, 'Random Description', 0.0, '2023-01-10 22:55:47-08:00', '2023-01-10 00:00:00-08:00', 22223, '2023-01-02 00:00:00-08:00'), ('ID_456', 'ID_385', 37, 'ID_469', 'DEFAULT', '0ba25d78-760e-4541-8eca-e4ff8292d0b1', '2023-01-10 23:00:28-08:00', 0.0, 61.0, 'Random Description', 0.0, '2023-01-10 22:55:47-08:00', '2023-01-10 00:00:00-08:00', 22222, '2023-01-01 00:00:00-08:00'), ('ID_456', 'ID_385', 37, 'ID_469', 'DEFAULT', '0ba25d78-760e-4541-8eca-e4ff8292d0b1', '2023-01-10 23:00:28-08:00', 0.0, 63.0, 'Random Description', 0.0, '2023-01-10 22:55:47-08:00', '2023-01-10 00:00:00-08:00', 22221, '2023-01-03 00:00:00-08:00'), ('ID_456', 'ID_385', 37, 'ID_469', 'DEFAULT', '0ba25d78-760e-4541-8eca-e4ff8292d0b1', '2023-01-10 23:00:28-08:00', 0.0, 54.0, 'Random Description', 0.0, '2023-01-10 22:55:47-08:00', '2023-01-10 00:00:00-08:00', 22220, '2023-01-04 00:00:00-08:00');
-- DBMS: snowflake
CREATE TABLE AMAZON_VENDOR_ANALYTICS__SAMPLE_DATASET.PUBLIC.ADVERTISING_DEALS_DETAILS (
    ID NUMBER,
    _CREATED_ON TIMESTAMP_LTZ,
    CONVERSION_RATE FLOAT,
    SALES FLOAT,
    _PARTNERUUID TEXT,
    UNITS_COMMITTED NUMBER,
    DEAL_ID TEXT,
    RAW_RECORD TEXT,
    GLANCE_VIEWS NUMBER,
    UNITS_SOLD NUMBER,
    _REVISION NUMBER,
    _LAST_UPDATED_ON TIMESTAMP_LTZ
);

INSERT INTO "AMAZON_VENDOR_ANALYTICS__SAMPLE_DATASET"."PUBLIC"."ADVERTISING_DEALS_DETAILS" (ID, _CREATED_ON, CONVERSION_RATE, SALES, _PARTNERUUID, UNITS_COMMITTED, DEAL_ID, RAW_RECORD, GLANCE_VIEWS, UNITS_SOLD, _REVISION, _LAST_UPDATED_ON) VALUES (1918, '2022-12-25 05:29:25-08:00', 0.0, 0.0, '0ba25d78-760e-4541-8eca-e4ff8292d0b1', 29, 'ID_69', NULL, 113, 0, 80, '2023-01-10 05:16:16-08:00'), (1915, '2022-12-25 05:29:25-08:00', 0.037, 84.98, '0ba25d78-760e-4541-8eca-e4ff8292d0b1', 100, 'ID_69', NULL, 54, 2, 80, '2023-01-10 05:16:16-08:00'), (2433, '2022-12-25 05:29:17-08:00', 0.0, 0.0, '0ba25d78-760e-4541-8eca-e4ff8292d0b1', 1, 'ID_90', NULL, 0, 0, 92, '2023-01-10 05:15:12-08:00'), (2432, '2022-12-25 05:29:17-08:00', 0.021, 28.04, '0ba25d78-760e-4541-8eca-e4ff8292d0b1', 1, 'ID_90', NULL, 47, 1, 92, '2023-01-10 05:15:12-08:00'), (2431, '2022-12-25 05:29:22-08:00', 0.143, 59.49, '0ba25d78-760e-4541-8eca-e4ff8292d0b1', 1, 'ID_77', NULL, 7, 1, 86, '2023-01-10 05:15:46-08:00');
-- DBMS: snowflake
CREATE TABLE AMAZON_VENDOR_ANALYTICS__SAMPLE_DATASET.PUBLIC.BRAND_DEMOGRAPHICS_MARITAL_STATUS_VC (
    ORDERED_REVENUE FLOAT,
    ORDERED_REVENUE_PERCENTAGE_OF_TOTAL_RAW TEXT,
    ID NUMBER,
    _CREATED_ON TIMESTAMP_LTZ,
    ORDERED_REVENUE_PERCENTAGE_OF_TOTAL FLOAT,
    ORDERED_UNITS_RAW TEXT,
    ORDERED_UNITS FLOAT,
    PERIOD TEXT,
    ORDERED_UNITS_PERCENTAGE_OF_TOTAL FLOAT,
    UNIQUE_CUSTOMERS_PERCENTAGE_OF_TOTAL_RAW TEXT,
    UNIQUE_CUSTOMERS FLOAT,
    DATE TIMESTAMP_LTZ,
    ORDERED_UNITS_PERCENTAGE_OF_TOTAL_RAW TEXT,
    MARITAL_STATUS TEXT,
    _PARTNERUUID TEXT,
    _LAST_UPDATED_ON TIMESTAMP_LTZ,
    _REVISION NUMBER,
    UNIQUE_CUSTOMERS_PERCENTAGE_OF_TOTAL FLOAT,
    ORDERED_REVENUE_RAW TEXT
);

INSERT INTO "AMAZON_VENDOR_ANALYTICS__SAMPLE_DATASET"."PUBLIC"."BRAND_DEMOGRAPHICS_MARITAL_STATUS_VC" (ORDERED_REVENUE, ORDERED_REVENUE_PERCENTAGE_OF_TOTAL_RAW, ID, _CREATED_ON, ORDERED_REVENUE_PERCENTAGE_OF_TOTAL, ORDERED_UNITS_RAW, ORDERED_UNITS, PERIOD, ORDERED_UNITS_PERCENTAGE_OF_TOTAL, UNIQUE_CUSTOMERS_PERCENTAGE_OF_TOTAL_RAW, UNIQUE_CUSTOMERS, DATE, ORDERED_UNITS_PERCENTAGE_OF_TOTAL_RAW, MARITAL_STATUS, _PARTNERUUID, _LAST_UPDATED_ON, _REVISION, UNIQUE_CUSTOMERS_PERCENTAGE_OF_TOTAL, ORDERED_REVENUE_RAW) VALUES (68383.91, NULL, 21549, '2022-07-14 01:52:37-07:00', 1.0, NULL, 12724.0, 'WEEKLY', 1.0, NULL, 11558.0, '2021-11-23 00:00:00-08:00', NULL, 'Total', '0ba25d78-760e-4541-8eca-e4ff8292d0b1', '2022-07-19 01:45:07-07:00', 3, 1.0, NULL), (32176.74, NULL, 21462, '2022-07-14 00:18:13-07:00', 0.5155, NULL, 6064.0, 'WEEKLY', 0.5214, NULL, 5494.0, '2022-01-25 00:00:00-08:00', NULL, 'Married', '0ba25d78-760e-4541-8eca-e4ff8292d0b1', '2022-07-18 23:27:39-07:00', 3, 0.5163, NULL), (22207.15, NULL, 21537, '2022-07-14 03:28:07-07:00', 0.3377, NULL, 3865.0, 'WEEKLY', 0.3377, NULL, 3528.0, '2021-10-12 00:00:00-07:00', NULL, 'Information Not Available', '0ba25d78-760e-4541-8eca-e4ff8292d0b1', '2022-07-19 01:42:42-07:00', 3, 0.3356, NULL), (17667.08, NULL, 21762, '2022-10-11 15:37:29-07:00', 0.1502, NULL, 3619.0, 'WEEKLY', 0.1481, NULL, 3240.0, '2022-10-11 00:00:00-07:00', NULL, 'Single', '0ba25d78-760e-4541-8eca-e4ff8292d0b1', '2022-10-17 06:42:22-07:00', 31, 0.1468, NULL), (26562.07, NULL, 21447, '2022-07-13 21:47:17-07:00', 0.1587, NULL, 5101.0, 'WEEKLY', 0.1574, NULL, 4640.0, '2022-06-14 00:00:00-07:00', NULL, 'Single', '0ba25d78-760e-4541-8eca-e4ff8292d0b1', '2022-07-18 23:05:11-07:00', 3, 0.158, NULL);
-- DBMS: snowflake
CREATE TABLE AMAZON_VENDOR_ANALYTICS__SAMPLE_DATASET.PUBLIC.BRAND_STORE_OVERVIEW_TAG (
    UNITS FLOAT,
    RAW_RECORD TEXT,
    VIEWS FLOAT,
    _LAST_UPDATED_ON TIMESTAMP_LTZ,
    ORDERS FLOAT,
    SALES FLOAT,
    DATE TIMESTAMP_LTZ,
    STORE_NAME TEXT,
    ENTITY_ID TEXT,
    _REVISION NUMBER,
    SALES_PER_ORDER FLOAT,
    VISITS FLOAT,
    YOUR_TAG TEXT,
    VIEWS_PER_VISIT FLOAT,
    STORE_ID TEXT,
    UNITS_PER_ORDER FLOAT,
    SUB_ENTITY_ID TEXT,
    _PARTNERUUID TEXT,
    ID NUMBER,
    SALES_PER_VISIT FLOAT,
    _CREATED_ON TIMESTAMP_LTZ
);

INSERT INTO "AMAZON_VENDOR_ANALYTICS__SAMPLE_DATASET"."PUBLIC"."BRAND_STORE_OVERVIEW_TAG" (UNITS, RAW_RECORD, VIEWS, _LAST_UPDATED_ON, ORDERS, SALES, DATE, STORE_NAME, ENTITY_ID, _REVISION, SALES_PER_ORDER, VISITS, YOUR_TAG, VIEWS_PER_VISIT, STORE_ID, UNITS_PER_ORDER, SUB_ENTITY_ID, _PARTNERUUID, ID, SALES_PER_VISIT, _CREATED_ON) VALUES (0.0, NULL, 0.0, '2022-07-02 13:20:31-07:00', 0.0, 0.0, '2022-07-02 00:00:00-07:00', 'NAME_138', 'ID_87796', 42, 0.0, 0.0, 'GROUP_10', 0.0, 'ID_87795', 0.0, 'ID_87797', '0ba25d78-760e-4541-8eca-e4ff8292d0b1', 7040, 0.0, '2022-07-02 21:21:54-07:00'), (0.0, NULL, 0.0, '2022-11-21 11:49:54-08:00', 0.0, 0.0, '2022-11-21 00:00:00-08:00', 'NAME_138', 'ID_87796', 40, 0.0, 0.0, 'GROUP_10', 0.0, 'ID_87795', 0.0, 'ID_87797', '0ba25d78-760e-4541-8eca-e4ff8292d0b1', 7065, 0.0, '2022-11-21 20:42:40-08:00'), (0.0, NULL, 0.0, '2022-11-01 12:16:27-07:00', 0.0, 0.0, '2022-11-01 00:00:00-07:00', 'NAME_138', 'ID_87796', 45, 0.0, 0.0, 'GROUP_10', 0.0, 'ID_87795', 0.0, 'ID_87797', '0ba25d78-760e-4541-8eca-e4ff8292d0b1', 7064, 0.0, '2022-11-01 20:46:00-07:00'), (0.0, NULL, 0.0, '2022-10-18 12:12:15-07:00', 0.0, 0.0, '2022-10-18 00:00:00-07:00', 'NAME_138', 'ID_87796', 45, 0.0, 0.0, 'GROUP_10', 0.0, 'ID_87795', 0.0, 'ID_87797', '0ba25d78-760e-4541-8eca-e4ff8292d0b1', 7022, 0.0, '2022-10-18 20:43:49-07:00'), (0.0, NULL, 0.0, '2022-11-17 11:53:03-08:00', 0.0, 0.0, '2022-11-17 00:00:00-08:00', 'NAME_138', 'ID_87796', 41, 0.0, 0.0, 'GROUP_10', 0.0, 'ID_87795', 0.0, 'ID_87797', '0ba25d78-760e-4541-8eca-e4ff8292d0b1', 7021, 0.0, '2022-11-17 20:34:20-08:00');
-- DBMS: snowflake
CREATE TABLE AMAZON_VENDOR_ANALYTICS__SAMPLE_DATASET.PUBLIC.RETAIL_ANALYTICS_NET_PPM (
    NET_PPM FLOAT,
    _LAST_UPDATED_ON TIMESTAMP_LTZ,
    NET_PPM_LAST_YEAR FLOAT,
    _CREATED_ON TIMESTAMP_LTZ,
    DISTRIBUTOR_VIEW TEXT,
    DATE TIMESTAMP_LTZ,
    NET_PPM_PRIOR_PERIOD FLOAT,
    PRODUCT_TITLE TEXT,
    ASIN TEXT,
    PROGRAM TEXT,
    PERIOD TEXT,
    RAW_RECORD TEXT,
    _PARTNERUUID TEXT,
    _REVISION NUMBER,
    ID NUMBER
);

INSERT INTO "AMAZON_VENDOR_ANALYTICS__SAMPLE_DATASET"."PUBLIC"."RETAIL_ANALYTICS_NET_PPM" (NET_PPM, _LAST_UPDATED_ON, NET_PPM_LAST_YEAR, _CREATED_ON, DISTRIBUTOR_VIEW, DATE, NET_PPM_PRIOR_PERIOD, PRODUCT_TITLE, ASIN, PROGRAM, PERIOD, RAW_RECORD, _PARTNERUUID, _REVISION, ID) VALUES (0.0, '2022-09-11 03:29:15-07:00', -1.0, '2022-09-12 03:29:15-07:00', 'Manufacturing', '2021-02-09 00:00:00-08:00', 0.0, 'TITLE_86', 'ASIN_86', 'Amazon Retail', 'DAILY', NULL, '0ba25d78-760e-4541-8eca-e4ff8292d0b1', 1, 764), (0.0, '2022-09-11 03:29:15-07:00', -1.0, '2022-09-12 03:29:15-07:00', 'Manufacturing', '2021-02-09 00:00:00-08:00', 0.0, 'TITLE_37', 'ASIN_37', 'Amazon Retail', 'DAILY', NULL, '0ba25d78-760e-4541-8eca-e4ff8292d0b1', 1, 766), (0.5428, '2022-12-20 08:28:20-08:00', nan, '2022-12-16 20:32:59-08:00', 'Manufacturing', '2021-02-10 00:00:00-08:00', nan, 'TITLE_54', 'ASIN_54', 'Amazon Retail', 'DAILY', NULL, '0ba25d78-760e-4541-8eca-e4ff8292d0b1', 4, 805), (0.0, '2022-09-11 03:26:37-07:00', -1.0, '2022-09-12 03:26:37-07:00', 'Manufacturing', '2021-02-11 00:00:00-08:00', -1.0, 'TITLE_142', 'ASIN_142', 'Amazon Retail', 'DAILY', NULL, '0ba25d78-760e-4541-8eca-e4ff8292d0b1', 1, 813), (0.0, '2022-09-11 03:26:37-07:00', -1.0, '2022-09-12 03:26:37-07:00', 'Manufacturing', '2021-02-11 00:00:00-08:00', 0.0, 'TITLE_37', 'ASIN_37', 'Amazon Retail', 'DAILY', NULL, '0ba25d78-760e-4541-8eca-e4ff8292d0b1', 1, 814);
-- DBMS: snowflake
CREATE TABLE AMAZON_VENDOR_ANALYTICS__SAMPLE_DATASET.PUBLIC.BRAND_STORE_OVERVIEW_LIVE_PAGES (
    UNITS FLOAT,
    LIVE_PAGES TEXT,
    RAW_RECORD TEXT,
    SALES_PER_VISIT FLOAT,
    SALES FLOAT,
    SUB_ENTITY_ID TEXT,
    _LAST_UPDATED_ON TIMESTAMP_LTZ,
    _PARTNERUUID TEXT,
    STORE_ID TEXT,
    _CREATED_ON TIMESTAMP_LTZ,
    STORE_NAME TEXT,
    VIEWS_PER_VISIT FLOAT,
    DATE TIMESTAMP_LTZ,
    _REVISION NUMBER,
    VIEWS FLOAT,
    UNITS_PER_ORDER FLOAT,
    VISITS FLOAT,
    ORDERS FLOAT,
    ENTITY_ID TEXT,
    ID NUMBER,
    SALES_PER_ORDER FLOAT
);

INSERT INTO "AMAZON_VENDOR_ANALYTICS__SAMPLE_DATASET"."PUBLIC"."BRAND_STORE_OVERVIEW_LIVE_PAGES" (UNITS, LIVE_PAGES, RAW_RECORD, SALES_PER_VISIT, SALES, SUB_ENTITY_ID, _LAST_UPDATED_ON, _PARTNERUUID, STORE_ID, _CREATED_ON, STORE_NAME, VIEWS_PER_VISIT, DATE, _REVISION, VIEWS, UNITS_PER_ORDER, VISITS, ORDERS, ENTITY_ID, ID, SALES_PER_ORDER) VALUES (0.0, 'RANDOM_ITEM_8', NULL, 0.0, 0.0, 'ID_87797', '2022-07-17 12:46:47-07:00', '0ba25d78-760e-4541-8eca-e4ff8292d0b1', 'ID_87795', '2022-07-17 21:02:05-07:00', 'NAME_138', 1.0, '2022-07-17 00:00:00-07:00', 47, 20.0, 0.0, 20.0, 0.0, 'ID_87796', 35847, 0.0), (7.0, 'RANDOM_ITEM_7', NULL, 1.39222222222222, 112.77, 'ID_87797', '2022-07-31 12:58:15-07:00', '0ba25d78-760e-4541-8eca-e4ff8292d0b1', 'ID_87795', '2022-07-31 20:56:07-07:00', 'NAME_138', 1.16049382716049, '2022-07-31 00:00:00-07:00', 46, 94.0, 1.0, 81.0, 7.0, 'ID_87796', 35865, 16.11), (14.0, 'RANDOM_ITEM_7', NULL, 2.31578431372549, 236.21, 'ID_87797', '2022-07-12 12:44:36-07:00', '0ba25d78-760e-4541-8eca-e4ff8292d0b1', 'ID_87795', '2022-07-12 21:46:42-07:00', 'NAME_138', 1.06862745098039, '2022-07-12 00:00:00-07:00', 47, 109.0, 2.0, 102.0, 7.0, 'ID_87796', 35884, 33.7442857142857), (1.0, 'RANDOM_ITEM_7', NULL, 0.265, 22.79, 'ID_87797', '2022-08-01 13:00:10-07:00', '0ba25d78-760e-4541-8eca-e4ff8292d0b1', 'ID_87795', '2022-08-01 20:57:14-07:00', 'NAME_138', 1.06976744186047, '2022-08-01 00:00:00-07:00', 46, 92.0, 1.0, 86.0, 1.0, 'ID_87796', 35766, 22.79), (1.0, 'RANDOM_ITEM_3', NULL, 2.05105263157895, 38.97, 'ID_87797', '2022-07-23 12:52:00-07:00', '0ba25d78-760e-4541-8eca-e4ff8292d0b1', 'ID_87795', '2022-07-23 20:57:16-07:00', 'NAME_138', 1.05263157894737, '2022-07-23 00:00:00-07:00', 47, 20.0, 1.0, 19.0, 1.0, 'ID_87796', 35764, 38.97);
-- DBMS: snowflake
CREATE TABLE AMAZON_VENDOR_ANALYTICS__SAMPLE_DATASET.PUBLIC.ADS_SPONSORED_BRANDS_SEARCH_TERM_VC (
    _REVISION NUMBER,
    AD_GROUP_NAME TEXT,
    ROW_INDEX NUMBER,
    COST_PER_CLICK_CPC FLOAT,
    CLICKS FLOAT,
    _LAST_UPDATED_ON TIMESTAMP_LTZ,
    _CREATED_ON TIMESTAMP_LTZ,
    14_DAY_CONVERSION_RATE FLOAT,
    CAMPAIGN_NAME TEXT,
    CURRENCY TEXT,
    _PARTNERUUID TEXT,
    IMPRESSIONS FLOAT,
    DATE TIMESTAMP_LTZ,
    TOTAL_RETURN_ON_ADVERTISING_SPEND_ROAS FLOAT,
    ID NUMBER,
    MATCH_TYPE TEXT,
    CLICK_THRU_RATE_CTR FLOAT,
    _ROW_INDEX FLOAT,
    14_DAY_TOTAL_ORDERS FLOAT,
    14_DAY_TOTAL_SALES FLOAT,
    14_DAY_TOTAL_UNITS FLOAT,
    TOTAL_ADVERTISING_COST_OF_SALES_ACOS FLOAT,
    SPEND FLOAT,
    CUSTOMER_SEARCH_TERM TEXT,
    PORTFOLIO_NAME TEXT,
    TARGETING TEXT
);

INSERT INTO "AMAZON_VENDOR_ANALYTICS__SAMPLE_DATASET"."PUBLIC"."ADS_SPONSORED_BRANDS_SEARCH_TERM_VC" (_REVISION, AD_GROUP_NAME, ROW_INDEX, COST_PER_CLICK_CPC, CLICKS, _LAST_UPDATED_ON, _CREATED_ON, 14_DAY_CONVERSION_RATE, CAMPAIGN_NAME, CURRENCY, _PARTNERUUID, IMPRESSIONS, DATE, TOTAL_RETURN_ON_ADVERTISING_SPEND_ROAS, ID, MATCH_TYPE, CLICK_THRU_RATE_CTR, _ROW_INDEX, 14_DAY_TOTAL_ORDERS, 14_DAY_TOTAL_SALES, 14_DAY_TOTAL_UNITS, TOTAL_ADVERTISING_COST_OF_SALES_ACOS, SPEND, CUSTOMER_SEARCH_TERM, PORTFOLIO_NAME, TARGETING) VALUES (1, 'NAME_278', 2, 1.758787879, 33.0, '2021-10-25 14:26:31-07:00', '2021-11-09 14:26:31-08:00', 0.03030303, 'NAME_213', 'GBP', '0ba25d78-760e-4541-8eca-e4ff8292d0b1', 5019.0, '2021-09-05 00:00:00-07:00', 1.579255686, 110696, 'EXACT', 0.006575015, 0.0, 1.0, 0.0, 1.0, 0.633209688, 58.04, 'SEARCH_2', 'NAME_193', 'PRODUCT_2'), (1, 'NAME_278', 4, 1.524193548, 31.0, '2021-10-25 14:26:31-07:00', '2021-11-09 14:26:31-08:00', 0.193548387, 'NAME_209', 'GBP', '0ba25d78-760e-4541-8eca-e4ff8292d0b1', 598.0, '2021-09-05 00:00:00-07:00', 9.347936508, 110698, 'EXACT', 0.051839465, 0.0, 6.0, 0.0, 6.0, 0.106975481, 47.25, 'SEARCH_5', 'NAME_193', 'PRODUCT_5'), (1, 'NAME_278', 9, 1.567777778, 9.0, '2021-10-25 14:26:31-07:00', '2021-11-09 14:26:31-08:00', 0.222222222, 'NAME_219', 'GBP', '0ba25d78-760e-4541-8eca-e4ff8292d0b1', 368.0, '2021-09-05 00:00:00-07:00', 16.12189936, 110703, 'PHRASE', 0.024456522, 0.0, 2.0, 0.0, 2.0, 0.062027431, 14.11, 'SEARCH_8', 'NAME_15', 'PRODUCT_5'), (1, 'NAME_278', 20, 0.576153846, 13.0, '2021-10-25 14:26:31-07:00', '2021-11-09 14:26:31-08:00', 0.0, 'NAME_201', 'GBP', '0ba25d78-760e-4541-8eca-e4ff8292d0b1', 2567.0, '2021-09-05 00:00:00-07:00', 0.0, 110714, 'BROAD', 0.005064277, 0.0, 0.0, 0.0, 0.0, 0.0, 7.49, 'SEARCH_6', 'NAME_192', 'PRODUCT_281'), (1, 'NAME_278', 6, 2.005135135, 37.0, '2021-10-25 14:26:31-07:00', '2021-11-09 14:26:31-08:00', 0.135135135, 'NAME_213', 'GBP', '0ba25d78-760e-4541-8eca-e4ff8292d0b1', 2667.0, '2021-09-06 00:00:00-07:00', 5.244911713, 110725, 'EXACT', 0.013873266, 0.0, 5.0, 0.0, 5.0, 0.190660979, 74.19, 'SEARCH_15', 'NAME_193', 'PRODUCT_15');
-- DBMS: snowflake
CREATE TABLE AMAZON_VENDOR_ANALYTICS__SAMPLE_DATASET.PUBLIC.PAYMENTS_INVOICES (
    DESCRIPTION TEXT,
    TERMS_DISCOUNT_TAKEN FLOAT,
    INVOICE_CURRENCY TEXT,
    REMAINING_AMOUNT FLOAT,
    _PARTNERUUID TEXT,
    ID NUMBER,
    INVOICE_NUMBER TEXT,
    INVOICE_DATE TIMESTAMP_LTZ,
    AMOUNT_PAID FLOAT,
    WITHOLDING_AMOUNT FLOAT,
    PAYMENT_NUMBER TEXT,
    _CREATED_ON TIMESTAMP_LTZ,
    _REVISION NUMBER,
    RAW_RECORD TEXT,
    _LAST_UPDATED_ON TIMESTAMP_LTZ,
    AMOUNT_IN_PAYMENT_CURRENCY FLOAT,
    INVOICE_AMOUNT FLOAT
);

INSERT INTO "AMAZON_VENDOR_ANALYTICS__SAMPLE_DATASET"."PUBLIC"."PAYMENTS_INVOICES" (DESCRIPTION, TERMS_DISCOUNT_TAKEN, INVOICE_CURRENCY, REMAINING_AMOUNT, _PARTNERUUID, ID, INVOICE_NUMBER, INVOICE_DATE, AMOUNT_PAID, WITHOLDING_AMOUNT, PAYMENT_NUMBER, _CREATED_ON, _REVISION, RAW_RECORD, _LAST_UPDATED_ON, AMOUNT_IN_PAYMENT_CURRENCY, INVOICE_AMOUNT) VALUES ('Random Description', 0.0, 'USD', 0.0, '0ba25d78-760e-4541-8eca-e4ff8292d0b1', 45625, '#_3', '2021-08-31 00:00:00-07:00', 32.47, 0.0, '#_1', '2022-03-30 07:08:28-07:00', 5, NULL, '2022-03-17 13:38:19-07:00', 0.0, 32.47), ('Random Description', 0.0, 'USD', 0.0, '0ba25d78-760e-4541-8eca-e4ff8292d0b1', 45639, '#_17', '2023-01-06 00:00:00-08:00', -0.4, 0.0, '#_2', '2023-01-10 20:35:19-08:00', 40, NULL, '2023-01-10 20:37:24-08:00', 0.0, -0.4), ('Random Description', 0.0, 'USD', 0.0, '0ba25d78-760e-4541-8eca-e4ff8292d0b1', 45638, '#_16', '2023-01-06 00:00:00-08:00', -0.4, 0.0, '#_2', '2023-01-10 20:35:19-08:00', 40, NULL, '2023-01-10 20:37:24-08:00', 0.0, -0.4), ('Random Description', 0.0, 'USD', 0.0, '0ba25d78-760e-4541-8eca-e4ff8292d0b1', 45637, '#_15', '2023-01-06 00:00:00-08:00', -4.0, 0.0, '#_2', '2023-01-10 20:35:19-08:00', 40, NULL, '2023-01-10 20:37:24-08:00', 0.0, -4.0), ('Random Description', 0.0, 'USD', 0.0, '0ba25d78-760e-4541-8eca-e4ff8292d0b1', 45636, '#_14', '2023-01-06 00:00:00-08:00', -0.4, 0.0, '#_2', '2023-01-10 20:35:19-08:00', 40, NULL, '2023-01-10 20:37:24-08:00', 0.0, -0.4);
-- DBMS: snowflake
CREATE TABLE AMAZON_VENDOR_ANALYTICS__SAMPLE_DATASET.PUBLIC.BRAND_DEMOGRAPHICS_GENDER_VC (
    ORDERED_UNITS_RAW TEXT,
    ORDERED_REVENUE_PERCENTAGE_OF_TOTAL_RAW TEXT,
    ORDERED_REVENUE_PERCENTAGE_OF_TOTAL FLOAT,
    UNIQUE_CUSTOMERS FLOAT,
    _PARTNERUUID TEXT,
    UNIQUE_CUSTOMERS_PERCENTAGE_OF_TOTAL FLOAT,
    _CREATED_ON TIMESTAMP_LTZ,
    GENDER TEXT,
    UNIQUE_CUSTOMERS_PERCENTAGE_OF_TOTAL_RAW TEXT,
    _LAST_UPDATED_ON TIMESTAMP_LTZ,
    ORDERED_UNITS FLOAT,
    ORDERED_REVENUE FLOAT,
    DATE TIMESTAMP_LTZ,
    ORDERED_UNITS_PERCENTAGE_OF_TOTAL FLOAT,
    ORDERED_REVENUE_RAW TEXT,
    ID NUMBER,
    ORDERED_UNITS_PERCENTAGE_OF_TOTAL_RAW TEXT,
    PERIOD TEXT,
    _REVISION NUMBER
);

INSERT INTO "AMAZON_VENDOR_ANALYTICS__SAMPLE_DATASET"."PUBLIC"."BRAND_DEMOGRAPHICS_GENDER_VC" (ORDERED_UNITS_RAW, ORDERED_REVENUE_PERCENTAGE_OF_TOTAL_RAW, ORDERED_REVENUE_PERCENTAGE_OF_TOTAL, UNIQUE_CUSTOMERS, _PARTNERUUID, UNIQUE_CUSTOMERS_PERCENTAGE_OF_TOTAL, _CREATED_ON, GENDER, UNIQUE_CUSTOMERS_PERCENTAGE_OF_TOTAL_RAW, _LAST_UPDATED_ON, ORDERED_UNITS, ORDERED_REVENUE, DATE, ORDERED_UNITS_PERCENTAGE_OF_TOTAL, ORDERED_REVENUE_RAW, ID, ORDERED_UNITS_PERCENTAGE_OF_TOTAL_RAW, PERIOD, _REVISION) VALUES (NULL, NULL, 0.047, 1251.0, '0ba25d78-760e-4541-8eca-e4ff8292d0b1', 0.0462, '2022-07-13 21:19:31-07:00', 'Information Not Available', NULL, '2022-07-18 22:59:37-07:00', 1382.0, 7364.4, '2022-06-21 00:00:00-07:00', 0.0462, NULL, 26243, NULL, 'WEEKLY', 3), (NULL, NULL, 0.7189, 7862.0, '0ba25d78-760e-4541-8eca-e4ff8292d0b1', 0.7212, '2022-07-14 01:43:47-07:00', 'Female', NULL, '2022-07-19 00:41:17-07:00', 8609.0, 47536.58, '2021-12-14 00:00:00-08:00', 0.7201, NULL, 26348, NULL, 'WEEKLY', 3), (NULL, NULL, 0.0634, 948.0, '0ba25d78-760e-4541-8eca-e4ff8292d0b1', 0.0636, '2022-07-14 04:25:00-07:00', 'Information Not Available', NULL, '2022-07-19 03:30:14-07:00', 1007.0, 6333.23, '2021-07-06 00:00:00-07:00', 0.0637, NULL, 26406, NULL, 'WEEKLY', 3), (NULL, NULL, 0.2283, 6614.0, '0ba25d78-760e-4541-8eca-e4ff8292d0b1', 0.2252, '2022-07-13 21:59:07-07:00', 'Male', NULL, '2022-07-18 22:36:47-07:00', 7348.0, 38208.75, '2022-06-14 00:00:00-07:00', 0.2267, NULL, 26230, NULL, 'WEEKLY', 3), (NULL, NULL, 1.0, 21515.0, '0ba25d78-760e-4541-8eca-e4ff8292d0b1', 1.0, '2022-07-14 00:52:37-07:00', 'Total', NULL, '2022-07-18 23:21:27-07:00', 23276.0, 122238.05, '2022-03-22 00:00:00-07:00', 1.0, NULL, 26325, NULL, 'WEEKLY', 3);
-- DBMS: snowflake
CREATE TABLE AMAZON_VENDOR_ANALYTICS__SAMPLE_DATASET.PUBLIC.BRAND_STORE_OVERVIEW_OTHER_PAGES (
    ID NUMBER,
    STORE_NAME TEXT,
    ENTITY_ID TEXT,
    DATE TIMESTAMP_LTZ,
    UNITS FLOAT,
    SUB_ENTITY_ID TEXT,
    VIEWS_PER_VISIT FLOAT,
    VIEWS FLOAT,
    ORDERS FLOAT,
    SALES_PER_ORDER FLOAT,
    UNITS_PER_ORDER FLOAT,
    _LAST_UPDATED_ON TIMESTAMP_LTZ,
    SALES_PER_VISIT FLOAT,
    STORE_ID TEXT,
    VISITS FLOAT,
    RAW_RECORD TEXT,
    SALES FLOAT,
    _CREATED_ON TIMESTAMP_LTZ,
    OTHER_PAGES TEXT,
    _PARTNERUUID TEXT,
    _REVISION NUMBER
);

INSERT INTO "AMAZON_VENDOR_ANALYTICS__SAMPLE_DATASET"."PUBLIC"."BRAND_STORE_OVERVIEW_OTHER_PAGES" (ID, STORE_NAME, ENTITY_ID, DATE, UNITS, SUB_ENTITY_ID, VIEWS_PER_VISIT, VIEWS, ORDERS, SALES_PER_ORDER, UNITS_PER_ORDER, _LAST_UPDATED_ON, SALES_PER_VISIT, STORE_ID, VISITS, RAW_RECORD, SALES, _CREATED_ON, OTHER_PAGES, _PARTNERUUID, _REVISION) VALUES (6947, 'NAME_138', 'ID_87796', '2022-08-17 00:00:00-07:00', 0.0, 'ID_87797', 0.0, 0.0, 0.0, 0.0, 0.0, '2022-08-17 11:52:59-07:00', 0.0, 'ID_87795', 0.0, NULL, 0.0, '2022-08-17 21:18:22-07:00', 'RANDOM_ITEM_11', '0ba25d78-760e-4541-8eca-e4ff8292d0b1', 46), (6883, 'NAME_138', 'ID_87796', '2022-10-26 00:00:00-07:00', 0.0, 'ID_87797', 0.0, 0.0, 0.0, 0.0, 0.0, '2022-10-26 12:04:00-07:00', 0.0, 'ID_87795', 0.0, NULL, 0.0, '2022-10-26 20:15:03-07:00', 'RANDOM_ITEM_11', '0ba25d78-760e-4541-8eca-e4ff8292d0b1', 45), (6880, 'NAME_138', 'ID_87796', '2022-06-20 00:00:00-07:00', 0.0, 'ID_87797', 0.0, 0.0, 0.0, 0.0, 0.0, '2022-06-20 13:51:37-07:00', 0.0, 'ID_87795', 0.0, NULL, 0.0, '2022-06-20 21:07:10-07:00', 'RANDOM_ITEM_11', '0ba25d78-760e-4541-8eca-e4ff8292d0b1', 49), (6878, 'NAME_138', 'ID_87796', '2022-09-22 00:00:00-07:00', 0.0, 'ID_87797', 0.0, 0.0, 0.0, 0.0, 0.0, '2022-09-22 12:14:19-07:00', 0.0, 'ID_87795', 0.0, NULL, 0.0, '2022-09-22 20:17:10-07:00', 'RANDOM_ITEM_11', '0ba25d78-760e-4541-8eca-e4ff8292d0b1', 46), (6931, 'NAME_138', 'ID_87796', '2022-10-03 00:00:00-07:00', 0.0, 'ID_87797', 0.0, 0.0, 0.0, 0.0, 0.0, '2022-10-03 12:05:02-07:00', 0.0, 'ID_87795', 0.0, NULL, 0.0, '2022-10-03 20:57:41-07:00', 'RANDOM_ITEM_11', '0ba25d78-760e-4541-8eca-e4ff8292d0b1', 45);
-- DBMS: snowflake
CREATE TABLE AMAZON_VENDOR_ANALYTICS__SAMPLE_DATASET.PUBLIC.PAYMENTS_COOP (
    _LAST_UPDATED_ON TIMESTAMP_LTZ,
    _CREATED_ON TIMESTAMP_LTZ,
    ORIGINAL_BALANCE_RAW TEXT,
    _REVISION NUMBER,
    ID NUMBER,
    RAW_RECORD TEXT,
    AGREEMENT_TITLE TEXT,
    AGREEMENT_ID TEXT,
    ORIGINAL_BALANCE FLOAT,
    _PARTNERUUID TEXT,
    INVOICE_DATE TIMESTAMP_LTZ,
    FUNDING_TYPE TEXT,
    INVOICE_ID TEXT
);

INSERT INTO "AMAZON_VENDOR_ANALYTICS__SAMPLE_DATASET"."PUBLIC"."PAYMENTS_COOP" (_LAST_UPDATED_ON, _CREATED_ON, ORIGINAL_BALANCE_RAW, _REVISION, ID, RAW_RECORD, AGREEMENT_TITLE, AGREEMENT_ID, ORIGINAL_BALANCE, _PARTNERUUID, INVOICE_DATE, FUNDING_TYPE, INVOICE_ID) VALUES ('2022-08-16 20:17:29-07:00', '2022-05-29 15:34:37-07:00', NULL, 7, 13087, NULL, 'TITLE_20491', 'ID_209', 39556.64, '0ba25d78-760e-4541-8eca-e4ff8292d0b1', '2021-09-11 00:00:00-07:00', 'Accrual', 'ID_72'), ('2022-08-16 20:15:50-07:00', '2022-06-12 03:33:15-07:00', NULL, 83, 13105, NULL, 'TITLE_20508', 'ID_224', 4218.58, '0ba25d78-760e-4541-8eca-e4ff8292d0b1', '2022-06-11 00:00:00-07:00', 'Accrual', 'ID_240'), ('2022-05-28 16:40:02-07:00', '2022-05-29 15:34:46-07:00', NULL, 4, 13284, NULL, 'TITLE_20493', 'ID_208', 378.29, '0ba25d78-760e-4541-8eca-e4ff8292d0b1', '2021-07-12 00:00:00-07:00', 'null', 'ID_76'), ('2022-08-16 20:15:50-07:00', '2022-08-12 08:03:55-07:00', NULL, 26, 13308, NULL, 'TITLE_20550', 'ID_444', 2541.37, '0ba25d78-760e-4541-8eca-e4ff8292d0b1', '2022-08-12 00:00:00-07:00', 'Vendor Funded Sales Discount', 'ID_362'), ('2022-12-13 14:55:42-08:00', '2022-12-13 14:57:37-08:00', NULL, 5, 13429, NULL, 'TITLE_20513', 'ID_223', 1278.9, '0ba25d78-760e-4541-8eca-e4ff8292d0b1', '2022-12-12 00:00:00-08:00', 'Accrual', 'ID_113');
-- DBMS: snowflake
CREATE TABLE AMAZON_VENDOR_ANALYTICS__SAMPLE_DATASET.PUBLIC.ADS_SPONSORED_DISPLAY_TARGETING_VC (
    ROW_INDEX NUMBER,
    14_DAY_CONVERSION_RATE FLOAT,
    IMPRESSIONS FLOAT,
    CURRENCY TEXT,
    _CREATED_ON TIMESTAMP_LTZ,
    14_DAY_TOTAL_UNITS FLOAT,
    COST_PER_CLICK_CPC FLOAT,
    _LAST_UPDATED_ON TIMESTAMP_LTZ,
    SPEND FLOAT,
    14_DAY_TOTAL_ORDERS FLOAT,
    TARGETING TEXT,
    14_DAY_TOTAL_SALES FLOAT,
    ID NUMBER,
    CAMPAIGN_NAME TEXT,
    CLICK_THRU_RATE_CTR FLOAT,
    AD_GROUP_NAME TEXT,
    TOTAL_RETURN_ON_ADVERTISING_SPEND_ROAS FLOAT,
    _REVISION NUMBER,
    TOTAL_ADVERTISING_COST_OF_SALES_ACOS FLOAT,
    DATE TIMESTAMP_LTZ,
    _PARTNERUUID TEXT,
    CLICKS FLOAT
);

INSERT INTO "AMAZON_VENDOR_ANALYTICS__SAMPLE_DATASET"."PUBLIC"."ADS_SPONSORED_DISPLAY_TARGETING_VC" (ROW_INDEX, 14_DAY_CONVERSION_RATE, IMPRESSIONS, CURRENCY, _CREATED_ON, 14_DAY_TOTAL_UNITS, COST_PER_CLICK_CPC, _LAST_UPDATED_ON, SPEND, 14_DAY_TOTAL_ORDERS, TARGETING, 14_DAY_TOTAL_SALES, ID, CAMPAIGN_NAME, CLICK_THRU_RATE_CTR, AD_GROUP_NAME, TOTAL_RETURN_ON_ADVERTISING_SPEND_ROAS, _REVISION, TOTAL_ADVERTISING_COST_OF_SALES_ACOS, DATE, _PARTNERUUID, CLICKS) VALUES (14, 0.0625, 3165.0, 'GBP', '2022-01-18 13:11:14-08:00', 1.0, 0.633125, '2022-04-03 14:35:41-07:00', 10.13, 1.0, 'PRODUCT_384', 92.49, 201254, 'NAME_318', 0.005055292, 'NAME_318', 9.130306022, 3, 0.109525354, '2021-06-13 00:00:00-07:00', '0ba25d78-760e-4541-8eca-e4ff8292d0b1', 16.0), (34, 0.0, 212.0, 'GBP', '2022-01-18 13:11:14-08:00', 0.0, 0.0, '2022-04-03 14:35:41-07:00', 0.0, 0.0, 'PRODUCT_4', 0.0, 204371, 'NAME_319', 0.0, 'NAME_319', 0.0, 3, 0.0, '2021-06-13 00:00:00-07:00', '0ba25d78-760e-4541-8eca-e4ff8292d0b1', 0.0), (1, 0.0, 129.0, 'GBP', '2022-01-18 13:11:14-08:00', 0.0, 0.0, '2022-04-03 14:35:41-07:00', 0.0, 0.0, 'PRODUCT_396', 0.0, 200215, 'NAME_318', 0.0, 'NAME_318', 0.0, 3, 0.0, '2021-07-13 00:00:00-07:00', '0ba25d78-760e-4541-8eca-e4ff8292d0b1', 0.0), (8, 0.0, 374.0, 'GBP', '2022-01-18 13:11:14-08:00', 0.0, 0.01, '2022-04-03 14:35:41-07:00', 0.07, 0.0, 'PRODUCT_405', 0.0, 200255, 'NAME_318', 0.018716578, 'NAME_318', 0.0, 3, 0.0, '2021-07-13 00:00:00-07:00', '0ba25d78-760e-4541-8eca-e4ff8292d0b1', 7.0), (12, 0.0, 30.0, 'GBP', '2022-04-10 15:27:06-07:00', 0.0, 1.49, '2022-04-03 14:35:41-07:00', 1.49, 0.0, 'PRODUCT_408', 0.0, 200262, 'NAME_329', 0.033333333, 'NAME_329', 0.0, 2, 0.0, '2021-07-13 00:00:00-07:00', '0ba25d78-760e-4541-8eca-e4ff8292d0b1', 1.0);
-- DBMS: snowflake
CREATE TABLE AMAZON_VENDOR_ANALYTICS__SAMPLE_DATASET.PUBLIC.RETAIL_ANALYTICS_TRAFFIC (
    RAW_RECORD TEXT,
    _CREATED_ON TIMESTAMP_LTZ,
    ID NUMBER,
    GLANCE_VIEWS NUMBER,
    DATE TIMESTAMP_LTZ,
    GLANCE_VIEWS_LAST_YEAR FLOAT,
    _LAST_UPDATED_ON TIMESTAMP_LTZ,
    PERIOD TEXT,
    _REVISION NUMBER,
    ASIN TEXT,
    DISTRIBUTOR_VIEW TEXT,
    _PARTNERUUID TEXT,
    PRODUCT_TITLE TEXT,
    GLANCE_VIEWS_PRIOR_PERIOD FLOAT,
    PROGRAM TEXT
);

INSERT INTO "AMAZON_VENDOR_ANALYTICS__SAMPLE_DATASET"."PUBLIC"."RETAIL_ANALYTICS_TRAFFIC" (RAW_RECORD, _CREATED_ON, ID, GLANCE_VIEWS, DATE, GLANCE_VIEWS_LAST_YEAR, _LAST_UPDATED_ON, PERIOD, _REVISION, ASIN, DISTRIBUTOR_VIEW, _PARTNERUUID, PRODUCT_TITLE, GLANCE_VIEWS_PRIOR_PERIOD, PROGRAM) VALUES (NULL, '2022-09-17 19:40:35-07:00', 636, 5581, '2021-02-04 00:00:00-08:00', 0.9961, '2022-09-16 19:40:35-07:00', 'MONTHLY', 1, 'ASIN_102', 'Manufacturing', '0ba25d78-760e-4541-8eca-e4ff8292d0b1', 'TITLE_102', 0.0308, 'Amazon Retail'), (NULL, '2022-09-17 19:40:35-07:00', 646, 4166, '2021-02-04 00:00:00-08:00', 0.7322, '2022-09-16 19:40:35-07:00', 'MONTHLY', 1, 'ASIN_127', 'Manufacturing', '0ba25d78-760e-4541-8eca-e4ff8292d0b1', 'TITLE_127', -0.0348, 'Amazon Retail'), (NULL, '2022-09-17 19:40:35-07:00', 647, 4131, '2021-02-04 00:00:00-08:00', 0.5999, '2022-09-16 19:40:35-07:00', 'MONTHLY', 1, 'ASIN_17', 'Manufacturing', '0ba25d78-760e-4541-8eca-e4ff8292d0b1', 'TITLE_17', 0.1676, 'Amazon Retail'), (NULL, '2022-12-15 13:29:18-08:00', 651, 648, '2021-02-05 00:00:00-08:00', nan, '2022-12-20 07:43:41-08:00', 'DAILY', 6, 'ASIN_22', 'Manufacturing', '0ba25d78-760e-4541-8eca-e4ff8292d0b1', 'TITLE_22', nan, 'Amazon Retail'), (NULL, '2022-12-15 13:29:18-08:00', 666, 158, '2021-02-05 00:00:00-08:00', nan, '2022-12-20 07:43:41-08:00', 'DAILY', 6, 'ASIN_99', 'Manufacturing', '0ba25d78-760e-4541-8eca-e4ff8292d0b1', 'TITLE_99', nan, 'Amazon Retail');
-- DBMS: snowflake
CREATE TABLE AMAZON_VENDOR_ANALYTICS__SAMPLE_DATASET.PUBLIC.BRAND_DEMOGRAPHICS_HOUSEHOLD_INCOME_VC (
    HOUSEHOLD_INCOME TEXT,
    UNIQUE_CUSTOMERS_PERCENTAGE_OF_TOTAL FLOAT,
    _LAST_UPDATED_ON TIMESTAMP_LTZ,
    ID NUMBER,
    ORDERED_REVENUE FLOAT,
    ORDERED_REVENUE_PERCENTAGE_OF_TOTAL FLOAT,
    _CREATED_ON TIMESTAMP_LTZ,
    UNIQUE_CUSTOMERS FLOAT,
    ORDERED_REVENUE_RAW TEXT,
    _REVISION NUMBER,
    ORDERED_UNITS_PERCENTAGE_OF_TOTAL FLOAT,
    _PARTNERUUID TEXT,
    ORDERED_UNITS_PERCENTAGE_OF_TOTAL_RAW TEXT,
    UNIQUE_CUSTOMERS_PERCENTAGE_OF_TOTAL_RAW TEXT,
    ORDERED_REVENUE_PERCENTAGE_OF_TOTAL_RAW TEXT,
    ORDERED_UNITS FLOAT,
    PERIOD TEXT,
    ORDERED_UNITS_RAW TEXT,
    DATE TIMESTAMP_LTZ
);

INSERT INTO "AMAZON_VENDOR_ANALYTICS__SAMPLE_DATASET"."PUBLIC"."BRAND_DEMOGRAPHICS_HOUSEHOLD_INCOME_VC" (HOUSEHOLD_INCOME, UNIQUE_CUSTOMERS_PERCENTAGE_OF_TOTAL, _LAST_UPDATED_ON, ID, ORDERED_REVENUE, ORDERED_REVENUE_PERCENTAGE_OF_TOTAL, _CREATED_ON, UNIQUE_CUSTOMERS, ORDERED_REVENUE_RAW, _REVISION, ORDERED_UNITS_PERCENTAGE_OF_TOTAL, _PARTNERUUID, ORDERED_UNITS_PERCENTAGE_OF_TOTAL_RAW, UNIQUE_CUSTOMERS_PERCENTAGE_OF_TOTAL_RAW, ORDERED_REVENUE_PERCENTAGE_OF_TOTAL_RAW, ORDERED_UNITS, PERIOD, ORDERED_UNITS_RAW, DATE) VALUES ('<$50,000', 0.3467, '2022-07-19 01:04:45-07:00', 33924, 26295.63, 0.3412, '2022-07-14 05:39:24-07:00', 4024.0, NULL, 3, 0.3443, '0ba25d78-760e-4541-8eca-e4ff8292d0b1', NULL, NULL, NULL, 4267.0, 'WEEKLY', NULL, '2021-07-13 00:00:00-07:00'), ('Total', 1.0, '2022-07-19 03:01:53-07:00', 33868, 74345.65, 1.0, '2022-07-14 04:24:27-07:00', 11312.0, NULL, 3, 1.0, '0ba25d78-760e-4541-8eca-e4ff8292d0b1', NULL, NULL, NULL, 12165.0, 'WEEKLY', NULL, '2021-08-10 00:00:00-07:00'), ('$50,000 to $74,999', 0.1771, '2022-11-24 14:59:35-08:00', 34543, 131752.35, 0.1777, '2022-10-20 22:30:16-07:00', 22301.0, NULL, 165, 0.1778, '0ba25d78-760e-4541-8eca-e4ff8292d0b1', NULL, NULL, NULL, 25011.0, 'MONTHLY', NULL, '2022-09-24 00:00:00-07:00'), ('$75,000 to $99,999', 0.166, '2022-07-19 03:12:41-07:00', 33722, 224586.84, 0.1661, '2022-07-14 07:59:07-07:00', 33338.0, NULL, 3, 0.1657, '0ba25d78-760e-4541-8eca-e4ff8292d0b1', NULL, NULL, NULL, 38043.0, 'QUARTERLY', NULL, '2021-09-24 00:00:00-07:00'), ('$50,000 to $74,999', 0.1979, '2022-07-18 23:56:02-07:00', 33762, 22559.6, 0.1991, '2022-07-13 23:52:16-07:00', 3733.0, NULL, 3, 0.1982, '0ba25d78-760e-4541-8eca-e4ff8292d0b1', NULL, NULL, NULL, 4030.0, 'WEEKLY', NULL, '2022-03-29 00:00:00-07:00');
-- DBMS: snowflake
CREATE TABLE AMAZON_VENDOR_ANALYTICS__SAMPLE_DATASET.PUBLIC.ORDERS_SHIPMENTS (
    SHIP_FROM TEXT,
    _PARTNERUUID TEXT,
    MODE TEXT,
    ALERT TEXT,
    REFERENCE_ID TEXT,
    SHIP_TO TEXT,
    ID NUMBER,
    POS TEXT,
    UNSTACKED_PALLETS FLOAT,
    CARRIER_NAME TEXT,
    STATUS TEXT,
    _LAST_UPDATED_ON TIMESTAMP_LTZ,
    RAW_RECORD TEXT,
    SHIPMENT_ID_ARN TEXT,
    STACKED_PALLETS FLOAT,
    CREATION_DATE TIMESTAMP_LTZ,
    DATE_OR_DETAIL TEXT,
    CARRIER_SCAC TEXT,
    ASN TEXT,
    _REVISION NUMBER,
    _CREATED_ON TIMESTAMP_LTZ,
    CARTONS FLOAT
);

INSERT INTO "AMAZON_VENDOR_ANALYTICS__SAMPLE_DATASET"."PUBLIC"."ORDERS_SHIPMENTS" (SHIP_FROM, _PARTNERUUID, MODE, ALERT, REFERENCE_ID, SHIP_TO, ID, POS, UNSTACKED_PALLETS, CARRIER_NAME, STATUS, _LAST_UPDATED_ON, RAW_RECORD, SHIPMENT_ID_ARN, STACKED_PALLETS, CREATION_DATE, DATE_OR_DETAIL, CARRIER_SCAC, ASN, _REVISION, _CREATED_ON, CARTONS) VALUES ('Random City, Random State', '0ba25d78-760e-4541-8eca-e4ff8292d0b1', 'LESS_THAN_TRUCKLOAD', '', 'ID_15360', 'IND9,  IN', 42702, '1GY3WLEI', 1.0, 'NAME_1', 'Pending pick up', '2022-01-11 05:33:05-08:00', NULL, 'ID_9707', 0.0, '2022-01-05 00:00:00-08:00', '', 'EXLA', 'ASN_1', 50, '2022-01-03 09:59:08-08:00', 26.0), ('Random City, Random State', '0ba25d78-760e-4541-8eca-e4ff8292d0b1', 'SMALL_PARCEL', '', 'ID_14033', 'ATL2,', 42716, '716ZWHTO', 0.0, 'NAME_1', 'Complete', '2022-01-06 05:32:33-08:00', NULL, 'ID_8373', 0.0, '2021-12-28 00:00:00-08:00', 'Sun, Mar 21, 2021 PDT', 'UPSN', 'ASN_630', 60, '2021-12-28 13:33:13-08:00', 1.0), ('Random City, Random State', '0ba25d78-760e-4541-8eca-e4ff8292d0b1', 'SMALL_PARCEL', '', 'ID_14042', 'BDL3,  CT', 42734, '7YHKZ35B', 0.0, 'NAME_1', 'Complete', '2022-01-06 05:32:33-08:00', NULL, 'ID_8382', 0.0, '2021-12-28 00:00:00-08:00', 'Sun, Mar 21, 2021 PDT', 'UPSN', 'ASN_639', 60, '2021-12-28 13:33:13-08:00', 3.0), ('Random City, Random State', '0ba25d78-760e-4541-8eca-e4ff8292d0b1', 'SMALL_PARCEL', '', 'ID_14231', 'ABE8,  NJ', 42737, '1Q5Z9NQV', 0.0, 'NAME_1', 'Complete', '2021-12-31 05:32:35-08:00', NULL, 'ID_8571', 0.0, '2021-12-16 00:00:00-08:00', 'Thu, Feb 18, 2021 PST', 'UPSN', 'ASN_642', 63, '2021-12-19 12:32:55-08:00', 1.0), ('Random City, Random State', '0ba25d78-760e-4541-8eca-e4ff8292d0b1', 'SMALL_PARCEL', '', 'ID_14233', 'CLT2,  NC', 42739, '2JQBIFIQ', 0.0, 'NAME_1', 'Complete', '2021-12-31 05:32:35-08:00', NULL, 'ID_8573', 0.0, '2021-12-16 00:00:00-08:00', 'Thu, Feb 25, 2021 PST', 'UPSN', 'ASN_644', 63, '2021-12-19 12:32:55-08:00', 1.0);
-- DBMS: snowflake
CREATE TABLE AMAZON_VENDOR_ANALYTICS__SAMPLE_DATASET.PUBLIC.ADS_SPONSORED_PRODUCTS_TARGETING_VC (
    CURRENCY TEXT,
    _CREATED_ON TIMESTAMP_LTZ,
    TARGETING TEXT,
    _LAST_UPDATED_ON TIMESTAMP_LTZ,
    TOTAL_RETURN_ON_ADVERTISING_SPEND_ROAS FLOAT,
    AD_GROUP_NAME TEXT,
    DATE TIMESTAMP_LTZ,
    CLICK_THRU_RATE_CTR FLOAT,
    COST_PER_CLICK_CPC FLOAT,
    CAMPAIGN_NAME TEXT,
    14_DAY_TOTAL_UNITS FLOAT,
    CLICKS FLOAT,
    MATCH_TYPE TEXT,
    TOTAL_ADVERTISING_COST_OF_SALES_ACOS FLOAT,
    SPEND FLOAT,
    ROW_INDEX NUMBER,
    ID NUMBER,
    14_DAY_TOTAL_ORDERS FLOAT,
    _PARTNERUUID TEXT,
    PORTFOLIO_NAME TEXT,
    14_DAY_CONVERSION_RATE FLOAT,
    14_DAY_TOTAL_SALES FLOAT,
    _REVISION NUMBER,
    IMPRESSIONS FLOAT
);

INSERT INTO "AMAZON_VENDOR_ANALYTICS__SAMPLE_DATASET"."PUBLIC"."ADS_SPONSORED_PRODUCTS_TARGETING_VC" (CURRENCY, _CREATED_ON, TARGETING, _LAST_UPDATED_ON, TOTAL_RETURN_ON_ADVERTISING_SPEND_ROAS, AD_GROUP_NAME, DATE, CLICK_THRU_RATE_CTR, COST_PER_CLICK_CPC, CAMPAIGN_NAME, 14_DAY_TOTAL_UNITS, CLICKS, MATCH_TYPE, TOTAL_ADVERTISING_COST_OF_SALES_ACOS, SPEND, ROW_INDEX, ID, 14_DAY_TOTAL_ORDERS, _PARTNERUUID, PORTFOLIO_NAME, 14_DAY_CONVERSION_RATE, 14_DAY_TOTAL_SALES, _REVISION, IMPRESSIONS) VALUES ('GBP', '2021-11-09 13:57:34-08:00', 'PRODUCT_15', '2021-11-10 12:13:56-08:00', 2.831568104, 'NAME_130', '2021-01-10 00:00:00-08:00', 0.001583649, 1.461798246, 'NAME_20', 32.0, 684.0, 'PHRASE', 0.0, 999.87, 9, 208934, 31.0, '0ba25d78-760e-4541-8eca-e4ff8292d0b1', 'NAME_2', 0.045321637, 2831.2, 4, 431914.0), ('GBP', '2021-11-09 13:57:34-08:00', 'PRODUCT_27', '2021-11-10 12:14:05-08:00', 2.072216154, 'NAME_129', '2021-01-10 00:00:00-08:00', 0.006541568, 4.555962441, 'NAME_19', 26.0, 213.0, 'EXACT', 0.0, 970.42, 10, 208935, 26.0, '0ba25d78-760e-4541-8eca-e4ff8292d0b1', 'NAME_1', 0.122065728, 2010.92, 4, 32561.0), ('GBP', '2021-11-09 13:57:34-08:00', 'PRODUCT_81', '2021-11-10 12:14:05-08:00', 1.741410605, 'NAME_132', '2021-01-10 00:00:00-08:00', 0.00479487, 1.82556213, 'NAME_21', 6.0, 169.0, 'PHRASE', 0.0, 308.52, 22, 208947, 6.0, '0ba25d78-760e-4541-8eca-e4ff8292d0b1', 'NAME_3', 0.035502959, 537.26, 4, 35246.0), ('GBP', '2021-11-09 13:57:34-08:00', 'PRODUCT_3', '2021-11-10 12:14:12-08:00', 31.09477051, 'NAME_134', '2021-02-09 00:00:00-08:00', 0.021107524, 0.751394958, 'NAME_26', 530.0, 1785.0, 'EXACT', 0.0, 1341.24, 4, 208954, 529.0, '0ba25d78-760e-4541-8eca-e4ff8292d0b1', 'NAME_2', 0.296358543, 41705.55, 4, 84567.0), ('GBP', '2021-11-09 13:57:34-08:00', 'PRODUCT_2', '2021-11-10 12:14:09-08:00', 1.855312129, 'NAME_141', '2021-02-09 00:00:00-08:00', 0.001824468, 4.177058824, 'NAME_27', 17.0, 238.0, 'EXACT', 0.0, 994.14, 5, 208955, 17.0, '0ba25d78-760e-4541-8eca-e4ff8292d0b1', 'NAME_2', 0.071428571, 1844.44, 4, 130449.0);
-- DBMS: snowflake
CREATE TABLE AMAZON_VENDOR_ANALYTICS__SAMPLE_DATASET.PUBLIC.ADVERTISING_DEALS_SUMMARY (
    DEAL_FEE NUMBER,
    ID NUMBER,
    SALES FLOAT,
    SKU_COUNT NUMBER,
    _REVISION NUMBER,
    FEE_TO_SALES_RATIO FLOAT,
    DEAL_TYPE TEXT,
    START_DATE TIMESTAMP_LTZ,
    RAW_RECORD TEXT,
    UNITS_SOLD NUMBER,
    _LAST_UPDATED_ON TIMESTAMP_LTZ,
    _PARTNERUUID TEXT,
    _CREATED_ON TIMESTAMP_LTZ,
    CONVERSION_RATE FLOAT,
    STATUS TEXT,
    END_DATE TIMESTAMP_LTZ,
    DEAL_ID TEXT,
    INTERNAL_DESCRIPTION TEXT,
    UNITS_COMMITTED NUMBER,
    GLANCE_VIEWS NUMBER
);

INSERT INTO "AMAZON_VENDOR_ANALYTICS__SAMPLE_DATASET"."PUBLIC"."ADVERTISING_DEALS_SUMMARY" (DEAL_FEE, ID, SALES, SKU_COUNT, _REVISION, FEE_TO_SALES_RATIO, DEAL_TYPE, START_DATE, RAW_RECORD, UNITS_SOLD, _LAST_UPDATED_ON, _PARTNERUUID, _CREATED_ON, CONVERSION_RATE, STATUS, END_DATE, DEAL_ID, INTERNAL_DESCRIPTION, UNITS_COMMITTED, GLANCE_VIEWS) VALUES (0, 1162, 0.0, 1, 473, 0.0, 'BEST_DEAL', '2021-01-25 00:00:00-08:00', NULL, 0, '2023-01-10 13:33:52-08:00', '0ba25d78-760e-4541-8eca-e4ff8292d0b1', '2022-11-10 15:54:07-08:00', 0.0, 'CANCELLED', '2021-01-31 23:45:00-08:00', 'ID_163', 'Random Description', 1, 0), (0, 1382, 0.0, 5, 473, 0.0, 'LIGHTNING_DEAL', '2021-10-05 06:00:00-07:00', NULL, 0, '2023-01-10 13:33:52-08:00', '0ba25d78-760e-4541-8eca-e4ff8292d0b1', '2022-11-10 15:54:07-08:00', 0.0, 'CANCELLED', '2021-10-05 18:00:00-07:00', 'ID_383', 'Random Description', 18181, 0), (150, 1378, 101.96, 2, 473, 1.471, 'LIGHTNING_DEAL', '2021-10-04 04:25:00-07:00', NULL, 4, '2023-01-10 13:33:52-08:00', '0ba25d78-760e-4541-8eca-e4ff8292d0b1', '2022-11-10 15:54:07-08:00', 0.034, 'ENDED', '2021-10-04 16:25:00-07:00', 'ID_379', 'Random Description', 280, 116), (300, 1775, 14819.75, 40, 473, 0.02, 'BEST_DEAL', '2022-03-14 00:00:00-07:00', NULL, 595, '2023-01-10 13:33:52-08:00', '0ba25d78-760e-4541-8eca-e4ff8292d0b1', '2022-11-10 15:54:07-08:00', 0.051, 'ENDED', '2022-03-20 23:45:00-07:00', 'ID_776', 'Random Description', 40, 11581), (150, 1792, 144.0, 29, 473, 1.042, 'LIGHTNING_DEAL', '2022-03-22 10:15:00-07:00', NULL, 5, '2023-01-10 13:33:52-08:00', '0ba25d78-760e-4541-8eca-e4ff8292d0b1', '2022-11-10 15:54:07-08:00', 0.015, 'ENDED', '2022-03-22 22:15:00-07:00', 'ID_793', 'Random Description', 1240, 338);
-- DBMS: snowflake
CREATE TABLE AMAZON_VENDOR_ANALYTICS__SAMPLE_DATASET.PUBLIC.BRAND_DEMOGRAPHICS_EDUCATION_VC (
    ID NUMBER,
    ORDERED_REVENUE FLOAT,
    _REVISION NUMBER,
    ORDERED_UNITS FLOAT,
    DATE TIMESTAMP_LTZ,
    _CREATED_ON TIMESTAMP_LTZ,
    PERIOD TEXT,
    ORDERED_UNITS_RAW TEXT,
    UNIQUE_CUSTOMERS_PERCENTAGE_OF_TOTAL_RAW TEXT,
    UNIQUE_CUSTOMERS FLOAT,
    ORDERED_REVENUE_RAW TEXT,
    ORDERED_UNITS_PERCENTAGE_OF_TOTAL FLOAT,
    EDUCATION TEXT,
    _PARTNERUUID TEXT,
    UNIQUE_CUSTOMERS_PERCENTAGE_OF_TOTAL FLOAT,
    _LAST_UPDATED_ON TIMESTAMP_LTZ,
    ORDERED_REVENUE_PERCENTAGE_OF_TOTAL_RAW TEXT,
    ORDERED_UNITS_PERCENTAGE_OF_TOTAL_RAW TEXT,
    ORDERED_REVENUE_PERCENTAGE_OF_TOTAL FLOAT
);

INSERT INTO "AMAZON_VENDOR_ANALYTICS__SAMPLE_DATASET"."PUBLIC"."BRAND_DEMOGRAPHICS_EDUCATION_VC" (ID, ORDERED_REVENUE, _REVISION, ORDERED_UNITS, DATE, _CREATED_ON, PERIOD, ORDERED_UNITS_RAW, UNIQUE_CUSTOMERS_PERCENTAGE_OF_TOTAL_RAW, UNIQUE_CUSTOMERS, ORDERED_REVENUE_RAW, ORDERED_UNITS_PERCENTAGE_OF_TOTAL, EDUCATION, _PARTNERUUID, UNIQUE_CUSTOMERS_PERCENTAGE_OF_TOTAL, _LAST_UPDATED_ON, ORDERED_REVENUE_PERCENTAGE_OF_TOTAL_RAW, ORDERED_UNITS_PERCENTAGE_OF_TOTAL_RAW, ORDERED_REVENUE_PERCENTAGE_OF_TOTAL) VALUES ;
-- DBMS: snowflake
CREATE TABLE AMAZON_VENDOR_ANALYTICS__SAMPLE_DATASET.PUBLIC.BRAND_STORE_OVERVIEW_SOURCE (
    SALES_PER_ORDER FLOAT,
    STORE_NAME TEXT,
    SUB_ENTITY_ID TEXT,
    VIEWS_PER_VISIT FLOAT,
    STORE_ID TEXT,
    RAW_RECORD TEXT,
    _REVISION NUMBER,
    SOURCE TEXT,
    ENTITY_ID TEXT,
    VISITS FLOAT,
    UNITS FLOAT,
    _PARTNERUUID TEXT,
    _LAST_UPDATED_ON TIMESTAMP_LTZ,
    DATE TIMESTAMP_LTZ,
    SALES FLOAT,
    ORDERS FLOAT,
    _CREATED_ON TIMESTAMP_LTZ,
    SALES_PER_VISIT FLOAT,
    VIEWS FLOAT,
    UNITS_PER_ORDER FLOAT,
    ID NUMBER
);

INSERT INTO "AMAZON_VENDOR_ANALYTICS__SAMPLE_DATASET"."PUBLIC"."BRAND_STORE_OVERVIEW_SOURCE" (SALES_PER_ORDER, STORE_NAME, SUB_ENTITY_ID, VIEWS_PER_VISIT, STORE_ID, RAW_RECORD, _REVISION, SOURCE, ENTITY_ID, VISITS, UNITS, _PARTNERUUID, _LAST_UPDATED_ON, DATE, SALES, ORDERS, _CREATED_ON, SALES_PER_VISIT, VIEWS, UNITS_PER_ORDER, ID) VALUES (30.2375, 'NAME_138', 'ID_87797', 1.0, 'ID_87795', NULL, 45, 'Other sources', 'ID_87796', 12.0, 4.0, '0ba25d78-760e-4541-8eca-e4ff8292d0b1', '2022-08-12 12:21:21-07:00', '2022-08-12 00:00:00-07:00', 120.95, 4.0, '2022-08-12 21:36:45-07:00', 10.0791666666667, 12.0, 1.0, 18202), (47.4422727272727, 'NAME_138', 'ID_87797', 1.05676855895197, 'ID_87795', NULL, 48, 'Amazon organic traffic', 'ID_87796', 229.0, 52.0, '0ba25d78-760e-4541-8eca-e4ff8292d0b1', '2022-06-12 13:21:35-07:00', '2022-06-12 00:00:00-07:00', 1043.73, 22.0, '2022-06-12 21:33:03-07:00', 4.55777292576419, 242.0, 2.36363636363636, 18187), (27.614347826087, 'NAME_138', 'ID_87797', 1.08695652173913, 'ID_87795', NULL, 45, 'Amazon organic traffic', 'ID_87796', 207.0, 34.0, '0ba25d78-760e-4541-8eca-e4ff8292d0b1', '2022-06-03 13:17:58-07:00', '2022-06-03 00:00:00-07:00', 635.13, 23.0, '2022-06-04 06:04:25-07:00', 3.06826086956522, 225.0, 1.47826086956522, 18185), (52.36, 'NAME_138', 'ID_87797', 1.09459459459459, 'ID_87795', NULL, 44, 'Amazon organic traffic', 'ID_87796', 148.0, 43.0, '0ba25d78-760e-4541-8eca-e4ff8292d0b1', '2022-07-26 13:30:11-07:00', '2022-07-26 00:00:00-07:00', 994.84, 19.0, '2022-07-26 21:22:28-07:00', 6.72189189189189, 162.0, 2.26315789473684, 18365), (34.3933333333333, 'NAME_138', 'ID_87797', 1.08955223880597, 'ID_87795', NULL, 42, 'Amazon organic traffic', 'ID_87796', 134.0, 34.0, '0ba25d78-760e-4541-8eca-e4ff8292d0b1', '2022-07-10 14:24:35-07:00', '2022-07-10 00:00:00-07:00', 515.9, 15.0, '2022-07-10 21:36:42-07:00', 3.85, 146.0, 2.26666666666667, 18148);