Originally posted by Craig Taylor:
Can you rewrite as :
Unfortunately, no - the two queries are not the same. The query you have here (which is actually what I had started with) will leave out rows from the table PrevLevels if there are no matching records in the other tables. For my use, it's very important that, if there are no matching rows, I still get that row back with a value of 0.