By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
5 rows affected
| starttime | endtime | Diff |
|---|---|---|
| 2022-01-03 01:00:00.000 | 2022-01-03 01:30:07.000 | 30 |
| 2022-01-03 03:01:00.000 | 2022-01-03 03:06:00.000 | 5 |
| 2022-01-03 12:01:00.000 | 2022-01-03 12:20:00.000 | 19 |