-- DBMS: snowflake
CREATE TABLE WEATHER__ENVIRONMENT.CYBERSYN.FEMA_NATIONAL_FLOOD_INSURANCE_PROGRAM_CLAIM_INDEX (
    LATITUDE FLOAT,
    ICC_COVERAGE NUMBER,
    REPLACEMENT_COST_BASIS TEXT,
    ORIGINAL_FLOOD_POLICY_DATE DATE,
    DISASTER_ASSISTANCE_COVERAGE_REQUIRED TEXT,
    ELEVATION_DIFFERENCE NUMBER,
    EVENT_DESIGNATION_NUMBER TEXT,
    FLOOD_TYPE TEXT,
    COMMUNITY_RATING_SYSTEM_CLASS TEXT,
    PROPERTY_INDICATORS ARRAY,
    NFIP_COMMUNITY_NUMBER_CURRENT TEXT,
    AMOUNT_PAID_ON_BUILDING_CLAIM FLOAT,
    CENSUS_TRACT_ID TEXT,
    LONGITUDE FLOAT,
    FLOOD_EVENT TEXT,
    BUILDING_DAMAGE_AMOUNT FLOAT,
    CENSUS_BLOCK_GROUP_ID TEXT,
    FLOOD_WATER_DEPTH NUMBER,
    AMOUNT_PAID_ON_CONTENTS_CLAIM FLOAT,
    FICO_NUMBER NUMBER,
    BUILDING_REPLACEMENT_COST NUMBER,
    NUMBER_OF_FLOORS TEXT,
    CURRENT_FLOOD_ZONE TEXT,
    ORIGINAL_CONSTRUCTION_DATE DATE,
    TOTAL_BUILDING_INSURANCE_COVERAGE NUMBER,
    NET_BUILDING_PAYMENT_AMOUNT FLOAT,
    NFIP_RATED_COMMUNITY_NUMBER TEXT,
    BUILDING_PROPERTY_VALUE NUMBER,
    TOTAL_CONTENTS_INSURANCE_COVERAGE NUMBER,
    CONDOMINIUM_COVERAGE_TYPE TEXT,
    BASE_FLOOD_ELEVATION FLOAT,
    NFIP_COMMUNITY_NAME TEXT,
    CAUSE_OF_DAMAGE TEXT,
    NON_PAYMENT_REASON_CONTENTS TEXT,
    POLICY_COUNT NUMBER,
    POLICY_RATING_METHOD TEXT,
    OBSTRUCTION TEXT,
    ZIP_GEO_ID TEXT,
    POLICY_RATED_FLOOD_ZONE TEXT,
    CITY TEXT,
    NATIONAL_FLOOD_INSURANCE_PROGRAM_CLAIM_ID TEXT,
    BASEMENT_ENCLOSURE_CRAWLSPACE TEXT,
    NET_CONTENTS_PAYMENT_AMOUNT FLOAT,
    LOWEST_FLOOR_ELEVATION FLOAT,
    OCCUPANCY_TYPE TEXT,
    UNITS NUMBER,
    NON_PAYMENT_REASON_BUILDING TEXT,
    CONTENTS_DEDUCTIBLE NUMBER,
    CONTENT_LOCATION TEXT,
    FLOOD_WATER_DURATION_HOURS NUMBER,
    DATE_OF_LOSS DATE,
    BUILDING_TYPE TEXT,
    CONTENTS_DAMAGE_AMOUNT FLOAT,
    COUNTY_GEO_ID TEXT,
    NET_ICC_PAYMENT_AMOUNT FLOAT,
    CONTENTS_PROPERTY_VALUE NUMBER,
    CONTENTS_REPLACEMENT_COST NUMBER,
    AMOUNT_PAID_ON_INCREASED_COST_OF_COMPLIANCE_CLAIM FLOAT,
    LOWEST_ADJACENT_GRADE FLOAT,
    BUILDING_DEDUCTIBLE NUMBER,
    STATE_GEO_ID TEXT
);

INSERT INTO "WEATHER__ENVIRONMENT"."CYBERSYN"."FEMA_NATIONAL_FLOOD_INSURANCE_PROGRAM_CLAIM_INDEX" (LATITUDE, ICC_COVERAGE, REPLACEMENT_COST_BASIS, ORIGINAL_FLOOD_POLICY_DATE, DISASTER_ASSISTANCE_COVERAGE_REQUIRED, ELEVATION_DIFFERENCE, EVENT_DESIGNATION_NUMBER, FLOOD_TYPE, COMMUNITY_RATING_SYSTEM_CLASS, PROPERTY_INDICATORS, NFIP_COMMUNITY_NUMBER_CURRENT, AMOUNT_PAID_ON_BUILDING_CLAIM, CENSUS_TRACT_ID, LONGITUDE, FLOOD_EVENT, BUILDING_DAMAGE_AMOUNT, CENSUS_BLOCK_GROUP_ID, FLOOD_WATER_DEPTH, AMOUNT_PAID_ON_CONTENTS_CLAIM, FICO_NUMBER, BUILDING_REPLACEMENT_COST, NUMBER_OF_FLOORS, CURRENT_FLOOD_ZONE, ORIGINAL_CONSTRUCTION_DATE, TOTAL_BUILDING_INSURANCE_COVERAGE, NET_BUILDING_PAYMENT_AMOUNT, NFIP_RATED_COMMUNITY_NUMBER, BUILDING_PROPERTY_VALUE, TOTAL_CONTENTS_INSURANCE_COVERAGE, CONDOMINIUM_COVERAGE_TYPE, BASE_FLOOD_ELEVATION, NFIP_COMMUNITY_NAME, CAUSE_OF_DAMAGE, NON_PAYMENT_REASON_CONTENTS, POLICY_COUNT, POLICY_RATING_METHOD, OBSTRUCTION, ZIP_GEO_ID, POLICY_RATED_FLOOD_ZONE, CITY, NATIONAL_FLOOD_INSURANCE_PROGRAM_CLAIM_ID, BASEMENT_ENCLOSURE_CRAWLSPACE, NET_CONTENTS_PAYMENT_AMOUNT, LOWEST_FLOOR_ELEVATION, OCCUPANCY_TYPE, UNITS, NON_PAYMENT_REASON_BUILDING, CONTENTS_DEDUCTIBLE, CONTENT_LOCATION, FLOOD_WATER_DURATION_HOURS, DATE_OF_LOSS, BUILDING_TYPE, CONTENTS_DAMAGE_AMOUNT, COUNTY_GEO_ID, NET_ICC_PAYMENT_AMOUNT, CONTENTS_PROPERTY_VALUE, CONTENTS_REPLACEMENT_COST, AMOUNT_PAID_ON_INCREASED_COST_OF_COMPLIANCE_CLAIM, LOWEST_ADJACENT_GRADE, BUILDING_DEDUCTIBLE, STATE_GEO_ID) VALUES (30.0, 30000.0, 'Actual Cash Value Basis', '2010-05-30', NULL, NULL, NULL, NULL, NULL, '[
  "Primary Residence of the Insured"
]', '220221', 40000.0, 'geoId/22113950600', -92.2, 'Mid-summer severe storms', 64878.0, NULL, 1, 10000.0, 679.0, 237850.0, '1 Floor', 'Special Flood with Base Flood Elevation on FIRM', '1980-02-15', 100000, 40000.0, '220221', 183144.0, 10000, 'Not a Condominium', NULL, 'Vermilion Parish', 'Accumulation of rainfall or snowmelt', NULL, 1, 'Manual', NULL, 'zip/70510', 'Special Flood with Base Flood Elevation on FIRM', NULL, '183de939-7a59-4437-b443-24531077c464', NULL, 10000.0, NULL, 'Single family residence', 1, NULL, 3000.0, 'Lowest floor only above ground level (No Basement/Enclosure/Crawlspace/Subgrade Crawlspace)', 0, '2016-08-13', 'Main House', 19500.0, 'geoId/22113', 0.0, 0.0, 0.0, 0.0, NULL, 3000, 'geoId/22'), (30.0, nan, 'Replacement Cost Basis', '1985-09-22', 'Not Required', NULL, NULL, NULL, NULL, '[
  "Primary Residence of the Insured"
]', NULL, 28431.67, 'geoId/22051021700', -90.2, 'Flooding', 28932.0, NULL, 0, 4835.5, 582.0, 0.0, '1 Floor', NULL, '1974-11-30', 78700, 28431.67, '225199', 40000.0, 17400, 'Not a Condominium', NULL, NULL, 'Accumulation of rainfall or snowmelt', NULL, 1, 'Manual', 'Without obstruction (elevation of machinery/equipment is at or above Base Flood Elevation', 'zip/70006', 'Moderate Flood from Primary Water Source', NULL, '0c8cece8-f9fc-452a-b805-01a468e76751', NULL, 4835.5, NULL, 'Single family residence', 0, NULL, 500.0, 'Lowest floor only above ground level (No Basement/Enclosure/Crawlspace/Subgrade Crawlspace)', 0, '1995-05-08', NULL, 5336.0, 'geoId/22051', 0.0, 0.0, 0.0, 0.0, NULL, 500, 'geoId/22'), (30.2, 30000.0, 'Replacement Cost Basis', '2014-10-17', 'Not Required', NULL, NULL, NULL, NULL, '[
  "Post-FIRM Construction",
  "Primary Residence of the Insured"
]', '480483', 126788.4, 'geoId/48339691301', -95.5, 'Hurricane Harvey', 119973.0, NULL, 1, 16563.41, 682.0, 488537.0, '2 Floors', 'Special Flood with Base Flood Elevation on FIRM', '1988-01-01', 250000, 126788.4, '480483', 391226.0, 100000, 'Not a Condominium', NULL, 'Montgomery County', 'Accumulation of rainfall or snowmelt', NULL, 1, 'Newly Mapped into SFHA', NULL, 'zip/77381', 'Minimal/Moderate Flood from Primary Water Source', NULL, 'b20da148-6415-441a-a9b3-2215f2f79ea5', NULL, 16563.41, NULL, 'Single family residence', 1, NULL, 1250.0, 'Lowest floor above ground level and higher floors (No Basement/Enclosure/Crawlspace/Subgrade Crawlspace)', 0, '2017-08-28', 'Main House', 17813.0, 'geoId/48339', 0.0, 150000.0, 0.0, 0.0, NULL, 1250, 'geoId/48'), (22.1, nan, 'Actual Cash Value Basis', '1991-12-05', 'Not Required', NULL, NULL, NULL, NULL, '[]', NULL, nan, 'geoId/15007040205', -159.3, 'Hurricane Iniki', nan, NULL, 0, nan, 566.0, nan, '1 Floor', NULL, '1970-07-01', 250000, 0.0, '150002', nan, 300000, 'Not a Condominium', NULL, NULL, 'Accumulation of rainfall or snowmelt', 'Other', 1, 'Manual', 'Without obstruction (elevation of machinery/equipment is at or above Base Flood Elevation', 'zip/96746', 'Minimal/Moderate Flood from Primary Water Source', NULL, 'a13aa009-0890-4b26-be9c-9a64b597f1ca', NULL, 0.0, NULL, 'Non-Residential building', 1, 'Other', 500.0, 'Lowest floor only above ground level (No Basement/Enclosure/Crawlspace/Subgrade Crawlspace)', 0, '1992-09-11', NULL, nan, 'geoId/15007', 0.0, nan, nan, nan, NULL, 500, 'geoId/15'), (32.6, nan, 'Replacement Cost Basis', '1990-02-06', 'Not Required', NULL, NULL, 'Velocity Flow', NULL, '[]', NULL, 5171.43, NULL, -85.0, NULL, 5671.0, NULL, 1, 0.0, nan, 0.0, '1 Floor', NULL, '1965-07-01', 40000, 5171.43, '135158', 42680.0, 0, 'Not a Condominium', NULL, NULL, 'Stream, river, or lake overflow', NULL, 1, 'Manual', 'Without obstruction (elevation of machinery/equipment is at or above Base Flood Elevation', 'zip/31904', 'Special Flood with Base Flood Elevation on FIRM (3)', NULL, '91ec421b-a2d1-4bc2-a808-5d7d2a153362', NULL, 0.0, NULL, 'Single family residence', 1, NULL, nan, NULL, 10, '1990-03-17', NULL, nan, 'geoId/13215', 0.0, nan, nan, 0.0, NULL, 500, 'geoId/13');