A weather-monitoring platform needs a report of each sensor station's highest daily temperature during the previous calendar month. Write a SQL query to identify every station-day whose daily maximum temperature is the station's highest in that reporting period.
station_id, station_name, reading_date, and highest_daily_temperature.NULL temperature are ignored when calculating daily maximums.NULL reading in the period.station_id, then reading_date ascending.| Column | Type | Description |
|---|---|---|
| station_idPK | INT | Unique sensor station identifier |
| station_name | VARCHAR(100) | Sensor station name |
| region | VARCHAR(80) | Geographic region containing the station |
| Column | Type | Description |
|---|---|---|
| reading_idPK | INT | Unique temperature reading identifier |
| station_id | INT | Sensor station that produced the reading |
| recorded_at | TIMESTAMP | Timestamp when the temperature was recorded |
| temperature_celsius | NUMERIC(5,2) | Temperature measurement in degrees Celsius |