select customer, avg(TIMEDIFF(dttmin, dttmout)) from timetable group by customer; [download]
Trek
In reply to Re: MySql Timestamps by TrekNoid in thread MySql Timestamps by Agyeya