I logged in an annex to the success of testicular function, including a Time Stamps. As the distance of two records with information
on the cycle time of the plant output, I would like to identify. incl. standard deviation, etc.
I want every record of his predecessor (if possible) identified and the difference in time from the time stamps, and on the basis of this, build a report. The timestamp is unique, ie. so it should go, but I do not know how? The database is PostgreSQL.