Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • TeamNum = T.TeamName,? Is that a typo? Commented Mar 21, 2013 at 15:55
  • Is this really a working query? The from clauses appear to have multiple occurences of the same aliases - it looks as though this could never run. Also, if there are multiple 'R' sources, which is to take precedence? Commented Mar 21, 2013 at 15:59
  • @Rachcha - I shortened that part of the query as it originally was a CASE statement to return numbers from the TeamName. @Mark Bannister - Yes, this query actually works. Commented Mar 21, 2013 at 16:00