Microsoft SQL ServerAnalyzing a Query