By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
component_number | start_timestamp | end_timestamp |
---|---|---|
1 | 2020-05-10 16:30:00 | 2020-05-19 16:36:01 |
1 | 2020-05-19 16:36:52 | 2020-05-19 16:38:57 |
2 | 2020-05-11 17:04:50 | 2020-05-16 11:25:16 |
id | component_number | timestamp | status |
---|---|---|---|
1 | 1 | 2020-05-10 16:30:00 | A |
3 | 1 | 2020-05-19 16:36:01 | I |
4 | 1 | 2020-05-19 16:36:52 | A |
5 | 1 | 2020-05-19 16:38:57 | I |
6 | 2 | 2020-05-11 17:04:50 | A |
8 | 2 | 2020-05-16 11:25:16 | I |