add batch remove batch split batch comment selection show hidden batches hide batch highlight batch
db<>fiddle
donate feedback about
By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
Help with an interesting Postgres question: Why isn't an Index Only Scan used on a partition accessed via the parent table?.
3 rows affected
3 rows affected
sensorname minlimit maxlimit
Sensor1 80 115
Sensor2 60 70
Sensor3 100 120
2 rows affected
dimension sensor1 sensor2 sensor3
min 80 60 100
max 115 70 120
iotdatetime sensor1 sensor2 sensor3
2020-01-01 11:05:00 85 65.00000 110.00
2020-01-01 11:10:00 86 11.00000 109.00
2020-01-01 11:15:00 77 15.00000 666.00
the_day dimenstion sensor1 sensor2 sensor3
2020-01-01 min 33.3333333333333 66.6666666666667 0
2020-01-01 max 0 0 33.3333333333333