Re: MySQL query for time stamp diff?
Row-to-row logic is difficult, awkward in SQL, which is designed for sets.
So you're best off modelling the quantities you hope to compare such that SQL works well with them, for example, if short per-user time intervals often need to be computed, they might be best stored in the same row eg ...
user int,
start_time timestamp,
stop_time timestamp...
Subject
Written By
Posted
September 22, 2016 07:18AM
Re: MySQL query for time stamp diff?
September 22, 2016 11:10AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.