|
-
 Originally Posted by c0dem0nkey
Thanks Gandolf!
So now I created a sql statement like this..
select pollsiteid,checkintime,LAG(checkintime,1) OVER (order by checkintime) as t2,timestamp_diff_in_seconds(checkintime,LAG(checkintime,1) OVER (order by checkintime)) as secdif from LOG_FIELD_CHECKIN_HISTORY where pollsiteid = 510
Which gives me the difference between the two records.
Now..I'm not to sure how to indicate the concurrent intervals..especially between two dates.
Did you know you can subtract one date from another and find out the difference in time.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|