I have this query that I can't seem to speed up at all. My running theory is that I need to fix some indexes or something.
I am running the database through the Azure and that does auto indexes, so I haven't had a whole lot of experience with indexes.
When I try to take stuff away, to see if it goes any faster, I get a little bit of speed. But when I take anything important that would probably speed everything up, I need to take out part of the WHERE statement and then I end up with a crap ton more rows and the speed is way worse.
So, here is my Paste The PlanPaste The Plan
If anyone has any suggestions I would love to hear them.
Thanks in advance.