I'm trying to convert this into a subpath
SELECT * FROM Plans
INNER JOIN PlanOptions ON Plans.PlanID = PlanOptions.PlanID
INNER JOIN Funds ON PlanOptions.FundID = Funds.FundID
INNER JOIN CorpFunds ON Funds.FundID = CorpFunds.FundID AND Plans.CorpID = CorpFunds.CorpID
WHERE Plans.PlanID = n
I'm getting stuck on this part:
"...INNER JOIN CorpFunds ON Funds.FundID = CorpFunds.FundID AND Plans.CorpID = CorpFunds.CorpID..."
I've scanned the docs and looked into a multitude of posts but haven't found anything.
Thanks.