Given a dataset of sensor readings, write a SQL query to retrieve the maximum temperature recorded by a specific device over a defined time range.
Use device device-104 and include readings from 2025-01-10 00:00:00+00 through 2025-01-10 23:59:59+00. The start and end timestamps define an inclusive time range.
max_temperature.| Column | Type | Description |
|---|---|---|
| reading_idPK | INT | Unique identifier for the sensor reading |
| device_id | VARCHAR(50) | Identifier of the device that produced the reading |
| recorded_at | TIMESTAMPTZ | Timestamp when the reading was recorded |
| temperature | DECIMAL(5,2) | Recorded temperature value |