added a new query to the list

added a query for difference between endtime and starttime