colinmackay.scot
Comparing logically adjacent rows in a database table
If you have database table that stores something such as when an action occurred, it might be useful to work out how far apart these events are. It is easy to join different tables together, or eve…