select customer, avg(TIMEDIFF(dttmin, dttmout)) from timetable group by customer;