convert FormCompletionVsSubmissionTrendsReport to SQL