the dbquestion for getTrips is made