added SQL code to TrackCompleteServes.