SQLite Forum

Time difference between two records
Login
Technically the results are undefined. To fix it, the "OVER" clause should be:

        OVER(ROWS BETWEEN 1 FOLLOWING AND 1 FOLLOWING ORDER BY start)