It will be better if your finish_time and arrival_time
are both 'interval day to second' datatype instead of
date or timestamp.

then avg((finish - arrival) day to second)


F.