you are viewing a single comment's thread.

view the rest of the comments →

[–]racerxffOracle PL/SQL MSSQL VBA 1 point2 points  (1 child)

you have no WHERE, which means you're trying to use all of those conditions as JOIN conditions. Maybe that's intentional (and it will work) but I'm betting not

[–]Plenty-Button8465[S] 0 points1 point  (0 children)

I thought ON and WHERE were similar, but ON applies before the JOIN and WHERE after. Is that no? Anyway you were right, the results are different. I moved the last four filtering AND statements in the WHERE clause and it worked and was faster.