-- DBMS: snowflake
CREATE TABLE GLOBAL_WEATHER__CLIMATE_DATA_FOR_BI.STANDARD_TILE.HISTORY_DAY (
    MIN_HUMIDITY_RELATIVE_2M_PCT NUMBER,
    AVG_HUMIDITY_SPECIFIC_2M_GPKG NUMBER,
    AVG_PRESSURE_MEAN_SEA_LEVEL_MB NUMBER,
    MIN_TEMPERATURE_WETBULB_2M_F NUMBER,
    MAX_TEMPERATURE_HEATINDEX_2M_F NUMBER,
    COUNTRY TEXT,
    AVG_WIND_DIRECTION_80M_DEG NUMBER,
    TOT_PRECIPITATION_IN NUMBER,
    MIN_TEMPERATURE_FEELSLIKE_2M_F NUMBER,
    AVG_TEMPERATURE_WINDCHILL_2M_F NUMBER,
    AVG_WIND_SPEED_10M_MPH NUMBER,
    MAX_WIND_SPEED_80M_MPH NUMBER,
    MIN_WIND_SPEED_10M_MPH NUMBER,
    TOT_SNOWDEPTH_IN NUMBER,
    MAX_RADIATION_SOLAR_TOTAL_WPM2 NUMBER,
    MAX_PRESSURE_TENDENCY_2M_MB NUMBER,
    TOT_SNOWFALL_IN NUMBER,
    AVG_PRESSURE_TENDENCY_2M_MB NUMBER,
    MIN_RADIATION_SOLAR_TOTAL_WPM2 NUMBER,
    MIN_HUMIDITY_SPECIFIC_2M_GPKG NUMBER,
    AVG_HUMIDITY_RELATIVE_2M_PCT NUMBER,
    AVG_RADIATION_SOLAR_TOTAL_WPM2 NUMBER,
    AVG_WIND_SPEED_80M_MPH NUMBER,
    DATE_VALID_STD DATE,
    MAX_CLOUD_COVER_TOT_PCT NUMBER,
    MAX_WIND_SPEED_100M_MPH NUMBER,
    MIN_TEMPERATURE_DEWPOINT_2M_F NUMBER,
    AVG_TEMPERATURE_FEELSLIKE_2M_F NUMBER,
    AVG_TEMPERATURE_HEATINDEX_2M_F NUMBER,
    DOY_STD NUMBER,
    MIN_PRESSURE_2M_MB NUMBER,
    MAX_TEMPERATURE_WETBULB_2M_F NUMBER,
    AVG_TEMPERATURE_AIR_2M_F NUMBER,
    MIN_WIND_SPEED_100M_MPH NUMBER,
    MAX_TEMPERATURE_WINDCHILL_2M_F NUMBER,
    MAX_TEMPERATURE_FEELSLIKE_2M_F NUMBER,
    MAX_TEMPERATURE_AIR_2M_F NUMBER,
    AVG_TEMPERATURE_WETBULB_2M_F NUMBER,
    AVG_WIND_SPEED_100M_MPH NUMBER,
    MIN_WIND_SPEED_80M_MPH NUMBER,
    MAX_PRESSURE_2M_MB NUMBER,
    AVG_WIND_DIRECTION_100M_DEG NUMBER,
    POSTAL_CODE TEXT,
    MIN_PRESSURE_MEAN_SEA_LEVEL_MB NUMBER,
    MAX_PRESSURE_MEAN_SEA_LEVEL_MB NUMBER,
    MIN_PRESSURE_TENDENCY_2M_MB NUMBER,
    MIN_TEMPERATURE_WINDCHILL_2M_F NUMBER,
    MIN_TEMPERATURE_HEATINDEX_2M_F NUMBER,
    MAX_TEMPERATURE_DEWPOINT_2M_F NUMBER,
    AVG_CLOUD_COVER_TOT_PCT NUMBER,
    MAX_HUMIDITY_RELATIVE_2M_PCT NUMBER,
    MIN_CLOUD_COVER_TOT_PCT NUMBER,
    MAX_HUMIDITY_SPECIFIC_2M_GPKG NUMBER,
    MAX_WIND_SPEED_10M_MPH NUMBER,
    AVG_PRESSURE_2M_MB NUMBER,
    AVG_TEMPERATURE_DEWPOINT_2M_F NUMBER,
    MIN_TEMPERATURE_AIR_2M_F NUMBER,
    TOT_RADIATION_SOLAR_TOTAL_WPM2 NUMBER,
    AVG_WIND_DIRECTION_10M_DEG NUMBER
);

INSERT INTO "GLOBAL_WEATHER__CLIMATE_DATA_FOR_BI"."STANDARD_TILE"."HISTORY_DAY" (MIN_HUMIDITY_RELATIVE_2M_PCT, AVG_HUMIDITY_SPECIFIC_2M_GPKG, AVG_PRESSURE_MEAN_SEA_LEVEL_MB, MIN_TEMPERATURE_WETBULB_2M_F, MAX_TEMPERATURE_HEATINDEX_2M_F, COUNTRY, AVG_WIND_DIRECTION_80M_DEG, TOT_PRECIPITATION_IN, MIN_TEMPERATURE_FEELSLIKE_2M_F, AVG_TEMPERATURE_WINDCHILL_2M_F, AVG_WIND_SPEED_10M_MPH, MAX_WIND_SPEED_80M_MPH, MIN_WIND_SPEED_10M_MPH, TOT_SNOWDEPTH_IN, MAX_RADIATION_SOLAR_TOTAL_WPM2, MAX_PRESSURE_TENDENCY_2M_MB, TOT_SNOWFALL_IN, AVG_PRESSURE_TENDENCY_2M_MB, MIN_RADIATION_SOLAR_TOTAL_WPM2, MIN_HUMIDITY_SPECIFIC_2M_GPKG, AVG_HUMIDITY_RELATIVE_2M_PCT, AVG_RADIATION_SOLAR_TOTAL_WPM2, AVG_WIND_SPEED_80M_MPH, DATE_VALID_STD, MAX_CLOUD_COVER_TOT_PCT, MAX_WIND_SPEED_100M_MPH, MIN_TEMPERATURE_DEWPOINT_2M_F, AVG_TEMPERATURE_FEELSLIKE_2M_F, AVG_TEMPERATURE_HEATINDEX_2M_F, DOY_STD, MIN_PRESSURE_2M_MB, MAX_TEMPERATURE_WETBULB_2M_F, AVG_TEMPERATURE_AIR_2M_F, MIN_WIND_SPEED_100M_MPH, MAX_TEMPERATURE_WINDCHILL_2M_F, MAX_TEMPERATURE_FEELSLIKE_2M_F, MAX_TEMPERATURE_AIR_2M_F, AVG_TEMPERATURE_WETBULB_2M_F, AVG_WIND_SPEED_100M_MPH, MIN_WIND_SPEED_80M_MPH, MAX_PRESSURE_2M_MB, AVG_WIND_DIRECTION_100M_DEG, POSTAL_CODE, MIN_PRESSURE_MEAN_SEA_LEVEL_MB, MAX_PRESSURE_MEAN_SEA_LEVEL_MB, MIN_PRESSURE_TENDENCY_2M_MB, MIN_TEMPERATURE_WINDCHILL_2M_F, MIN_TEMPERATURE_HEATINDEX_2M_F, MAX_TEMPERATURE_DEWPOINT_2M_F, AVG_CLOUD_COVER_TOT_PCT, MAX_HUMIDITY_RELATIVE_2M_PCT, MIN_CLOUD_COVER_TOT_PCT, MAX_HUMIDITY_SPECIFIC_2M_GPKG, MAX_WIND_SPEED_10M_MPH, AVG_PRESSURE_2M_MB, AVG_TEMPERATURE_DEWPOINT_2M_F, MIN_TEMPERATURE_AIR_2M_F, TOT_RADIATION_SOLAR_TOTAL_WPM2, AVG_WIND_DIRECTION_10M_DEG) VALUES (78, '12.2', '1019.74', '58.9', '73.1', 'US', 240, '0.00', '59.0', '65.1', '4.6', '15.3', '0.1', '0.0', '429.8', '0.6', '0.00', '0.0', '0.0', '10.4', 93, '88.1', '8.9', '2022-12-09', 100, '13.3', '58.8', '65.1', '65.1', 343, '1011.71', '68.5', '65.1', '4.8', '73.1', '73.1', '73.1', '63.6', '9.1', '4.8', '1014.11', 246, '36764', '1018.38', '1021.66', '-0.9', '59.0', '59.0', '66.4', 65, 100, 0, '13.8', '10.4', '1012.78', '62.9', '59.0', '2112.7', 227), (15, '3.1', '1015.96', '36.7', '63.7', 'US', 52, '0.00', '38.2', '50.5', '4.7', '9.4', '1.1', '0.0', '542.3', '0.5', '0.00', '-0.2', '0.0', '1.9', 38, '133.4', '3.7', '2022-12-17', 100, '7.0', '15.0', '50.5', '52.1', 351, '984.40', '50.7', '52.1', '1.2', '63.7', '63.7', '63.7', '43.1', '3.9', '0.5', '988.43', 49, '91129', '1013.33', '1018.70', '-1.0', '38.2', '42.2', '30.6', 72, 54, 0, '3.7', '7.6', '986.22', '25.9', '42.2', '3203.3', 29), (16, '2.7', '1012.14', '33.5', '63.1', 'US', 220, '0.00', '35.8', '49.1', '11.3', '24.5', '3.6', '0.0', '988.4', '0.5', '0.00', '-0.2', '0.0', '2.2', 28, '314.0', '15.1', '2023-04-02', 0, '19.5', '14.1', '49.1', '52.0', 92, '821.80', '48.5', '52.0', '5.2', '63.1', '63.1', '63.1', '41.0', '13.0', '5.2', '827.37', 221, '86315', '1008.10', '1015.34', '-0.9', '35.8', '41.2', '21.5', 0, 42, 0, '3.0', '18.0', '825.25', '18.4', '41.2', '7536.3', 208), (38, '5.9', '1019.60', '44.6', '66.6', 'US', 69, '0.00', '45.4', '59.2', '6.5', '27.6', '0.5', '0.0', '998.0', '1.5', '0.00', '0.5', '0.0', '4.9', 58, '360.2', '15.4', '2023-05-29', 1, '25.2', '38.6', '59.2', '59.3', 149, '1010.69', '56.9', '59.3', '3.2', '66.6', '66.6', '66.6', '51.5', '15.3', '1.0', '1021.37', 70, '03862', '1013.34', '1023.18', '-0.2', '45.4', '45.4', '51.5', 0, 96, 0, '8.1', '12.2', '1017.63', '43.1', '45.4', '8644.8', 69), (35, '7.2', '1010.90', '48.8', '76.9', 'US', 356, '0.00', '51.1', '65.1', '5.1', '10.6', '0.0', '0.0', '922.3', '0.5', '0.00', '0.1', '0.0', '6.6', 56, '335.4', '7.1', '2023-06-09', 100, '10.2', '45.3', '65.3', '65.3', 160, '980.98', '60.8', '65.2', '1.3', '76.6', '76.9', '76.6', '55.7', '5.8', '2.0', '982.83', 345, '43110', '1010.21', '1011.79', '-0.4', '51.1', '51.2', '50.7', 38, 87, 0, '8.1', '12.0', '982.07', '47.6', '51.2', '8049.0', 331);