Create joinTrip procedure