-- DBMS: snowflake
CREATE TABLE BRAZE_USER_EVENT_DEMO_DATASET.PUBLIC.USERS_CAMPAIGNS_FREQUENCYCAP_VIEW (
    EXTERNAL_USER_ID TEXT,
    MESSAGE_VARIATION_ID TEXT,
    MESSAGE_VARIATION_API_ID TEXT,
    BOOLEAN_CUSTOM_ATTRIBUTES ARRAY,
    DEVICE_ID TEXT,
    CAMPAIGN_API_ID TEXT,
    COUNTRY TEXT,
    ID TEXT,
    GENDER TEXT,
    NUMBER_CUSTOM_ATTRIBUTES ARRAY,
    CAMPAIGN_ID TEXT,
    TIME NUMBER,
    FLOAT_CUSTOM_ATTRIBUTES ARRAY,
    TIMEZONE TEXT,
    STRING_CUSTOM_ATTRIBUTES ARRAY,
    DISPATCH_ID TEXT,
    LANGUAGE TEXT,
    USER_ID TEXT,
    SF_CREATED_AT TIMESTAMP_LTZ,
    APP_GROUP_ID TEXT,
    TIME_CUSTOM_ATTRIBUTES ARRAY,
    SEND_ID TEXT,
    APP_GROUP_API_ID TEXT
);

INSERT INTO "BRAZE_USER_EVENT_DEMO_DATASET"."PUBLIC"."USERS_CAMPAIGNS_FREQUENCYCAP_VIEW" (EXTERNAL_USER_ID, MESSAGE_VARIATION_ID, MESSAGE_VARIATION_API_ID, BOOLEAN_CUSTOM_ATTRIBUTES, DEVICE_ID, CAMPAIGN_API_ID, COUNTRY, ID, GENDER, NUMBER_CUSTOM_ATTRIBUTES, CAMPAIGN_ID, TIME, FLOAT_CUSTOM_ATTRIBUTES, TIMEZONE, STRING_CUSTOM_ATTRIBUTES, DISPATCH_ID, LANGUAGE, USER_ID, SF_CREATED_AT, APP_GROUP_ID, TIME_CUSTOM_ATTRIBUTES, SEND_ID, APP_GROUP_API_ID) VALUES ('poj15eoWZAM', 'WOIFinAY2k8tYCl', 'KSuT7lJ5ayZ7l9', '[
  true,
  true,
  true,
  true
]', 'PbD3mdjB1OFrfy', 'rHlyAXdQpavNmzE', 'US', 'a6h1iWjXxBJcYI', NULL, '[
  1.685887444000000e+09,
  1.685888281000000e+09,
  1.685887539000000e+09,
  1.685890643000000e+09
]', 'zrwSIecwiSTOICb', 1686667553, '[
  1.685887980000000e+09,
  1.685890696000000e+09,
  1.685890321000000e+09,
  1.685888229000000e+09
]', 'Indian/Chagos', '[
  "4wu16hIgilXeVw",
  "9qmMUuaAqwPvDj",
  "aCR7WqEkKebMoB",
  "mFmmoiUAPYvyFD"
]', 'gwLnJoMWTdu5pO', 'en', '2cwxPwR9pJxg4ET', '2021-12-14 11:08:46.256000-08:00', 'JyWFOSKn8bq', '[
  1685888228,
  1685890566,
  1685888773,
  1685890545
]', 'rSVAHNSbwTk3t7', 'SAVZhCMSDyHUqm'), ('ju2j2C6Db5v', '1QvHwCe9LMNor76', 'nJ0wydI1qIOLmV', '[
  true,
  true,
  true,
  true
]', 'AdHxX67qUAcoHH', 'pG7sQ8qDgwOk5k0', 'US', 'zxOoUQZOF2isuc', NULL, '[
  1.652397170000000e+09,
  1.652398682000000e+09,
  1.652399057000000e+09,
  1.652397748000000e+09
]', 'RHiWfe45dBhhnuR', 1653358881, '[
  1.652399872000000e+09,
  1.652397705000000e+09,
  1.652397073000000e+09,
  1.652397242000000e+09
]', 'Indian/Chagos', '[
  "qV5NwHsbiOFgJN",
  "ah6n0dzKH434w9",
  "OI651cVS5CUxuC",
  "0ww43FNg9hlkww"
]', 'XPR1HoyEjSZSdT', 'en', '2dXjmS78yxdWyvo', '2021-12-14 11:11:29.722000-08:00', 'OkIYT1HbF7u', '[
  1652397342,
  1652398912,
  1652397306,
  1652399617
]', 'IFg0BAYsmCUmjY', 'sNUHE4WU5R15BH'), ('YHGWAFurX8S', 'DcFxrnBATJfMSwB', 'RWAIUAY1KF1bsa', '[
  true,
  true,
  true,
  true
]', 'LzGOLSRpaz6Wkr', '4AjvtYeHjRtJsPO', 'US', 'AI9KQmy7MujnCo', 'M', '[
  1.692261158000000e+09,
  1.692259752000000e+09,
  1.692262514000000e+09,
  1.692260351000000e+09
]', 'zGmbN9hOqrnaOBk', 1692845807, '[
  1.692261896000000e+09,
  1.692261867000000e+09,
  1.692261674000000e+09,
  1.692260418000000e+09
]', 'Europe/Oslo', '[
  "Qo3acck7cx8whX",
  "1zpnwtvByEXwNC",
  "YadZgmYTpW6KxV",
  "Ds0K6RhDN06Oon"
]', '8COsTWyMCDhxlY', 'en', '2gIKstz5k1rWqJM', '2021-12-14 11:08:51.907000-08:00', 'JyWFOSKn8bq', '[
  1692261182,
  1692261474,
  1692260667,
  1692260288
]', 'duHteaDDEE7dm1', 'KP0KVBwF1aLhUg'), ('rDeKDOwrIMA', '1Il0LEu9e9WgbXD', 'evwjcWDusZG8vy', '[
  true,
  true,
  true,
  true
]', 'YX1sSmL9RFsFoW', 'xmLhepep7XVjceX', 'US', 'tiSFJC6xqI2e63', 'M', '[
  1.674939522000000e+09,
  1.674938724000000e+09,
  1.674937354000000e+09,
  1.674936673000000e+09
]', 'BOPSUnkmDLuBrHY', 1675532226, '[
  1.674937709000000e+09,
  1.674938981000000e+09,
  1.674937966000000e+09,
  1.674938923000000e+09
]', 'America/New_York', '[
  "lZaa2wCqSDiR7U",
  "OUBF7orVWcGDAI",
  "aealPjbkbNl7eS",
  "CxWooJqPto5Jvz"
]', 'EELsaFY5YboQ5T', 'en', '12eVMiVVYrVxtwb', '2021-12-14 11:11:30.848000-08:00', 'JyWFOSKn8bq', '[
  1674936152,
  1674938853,
  1674938295,
  1674936039
]', 'Dot7o2FucafGTZ', 'sGq584qxiYlEBY'), ('jGkJBzNC3iv', '4NHQ4JcjADBfyMy', 'PZbLG3fYspil8G', '[
  true,
  true,
  true,
  true
]', 'BTpT6FAyi7YNp6', 'LOfsxriz9G2L3nk', 'US', 'xd10eFB5aeRyG5', 'M', '[
  1.657480904000000e+09,
  1.657483074000000e+09,
  1.657482099000000e+09,
  1.657479671000000e+09
]', '5p9UzNOzjNs2Aut', 1658016616, '[
  1.657481360000000e+09,
  1.657481970000000e+09,
  1.657480354000000e+09,
  1.657483098000000e+09
]', 'Indian/Chagos', '[
  "IM7giUS5zzK6er",
  "LLjW7duXTgB10Q",
  "1O3pgJT7gnRE53",
  "UoM4R7zHQSs5BU"
]', 'KLwXsj6GPgPFus', 'en', '35F7eoKFVsFmmMr', '2021-12-14 11:11:30.038000-08:00', 'OkIYT1HbF7u', '[
  1657480791,
  1657481866,
  1657480071,
  1657480686
]', 'Oo5hmmx59DCAEZ', '4I69CHEG6vGkc3');