Weather table to include only entries from November 2019.weather_state for each country_id within the filtered date range.Countries table to get the corresponding country_name for each country_id.country_name and the determined weather_type for the final output.country_id to calculate the average weather state per country.erDiagram
Countries {
int country_id PK
varchar country_name
}
Weather {
int country_id PK
int weather_state
date day PK
}
Countries ||--o{ Weather : has