Cross Apply - how can I still bring back the rows

This is a related question that Scott helped me with

https://www.experts-exchange.com/questions/29145132/Adding-up-rows.html?headerLink=workspace_answered_questions

And I'm on SQL 2012

I'm running into an issue now that I have more data. You see that #FSS table and Cross Apply? when the #FSS table is empty, I don't get any rows back. I commented that Cross Apply (and fields related to it) and I get rows back.

How can I change it to say... give me rows even if #FSS is empty?
LVL 8
CamilliaAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

CamilliaAuthor Commented:
I tried Outer Apply but not sure if that's correct. I do see the data now.
Jim HornSQL Server Data DudeCommented:
< Knee-jerk answer without looking at the original question >  Change the CROSS APPLY to an OUTER APPLY.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
CamilliaAuthor Commented:
Yeah, just did that (we posted at the same time) and I get rows back. Let me read about Outer Apply and see what the difference is.
Jim HornSQL Server Data DudeCommented:
OUTER APPLY is the equivalent of a CROSS APPLY with a LEFT JOIN instead of INNER JOIN, so all the rows on the left side will be returned.

<rant>  Why isn't it called something more intuitive like LEFT APPLY?  Because Microsoft needs to be able to ask very un-intuitive questions on certification exams.  </rant>
CamilliaAuthor Commented:
Ha. Thanks. I'll test more. Seems to be working .
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
SQL

From novice to tech pro — start learning today.