I am new in SQL lite, I have a datetime column in this format:
| id | datetime |
|---|---|
| 1 | 2020-12-26 19:08:49 |
| 2 | 2020-12-26 19:08:50 |
| 3 | 2020-12-26 19:08:51 |
| 4 | 2020-12-26 19:08:51 |
| 5 | 2020-12-26 19:09:07 |
| 6 | 2020-12-26 19:11:45 |
| 7 | 2020-12-26 19:52:49 |
| 8 | 2020-12-26 19:52:50 |
How can i compute the difference between the first element with the 2nd the 3rd with 4th element ??