I am trying to evaluate time from a record on a table where the start_datetime and end_datetime ( note: start and end dates is equal in this record) is between the start_datetime and end_datetime of another record. In the evaluation process I will need elapsed seconds from the record that has both the same start and end time until the endtime of the record that it falls in.
Thanks
Thanks