By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
CREATE TABLE
INSERT 0 3
| index | machine_id | utc_timestamp | capsule_id | calctime |
|---|---|---|---|---|
| 1 | A1 | 2021-08-02 14:18:00 | 6 | 00:00:00 |
| 2 | A1 | 2021-08-02 14:18:25 | 6 | 00:00:25 |
SELECT 2