SELECT MP.* FROM SurveyFrontend..WebResult WR JOIN MeetingHistory MH ON MH.WebResultID=WR.WebResultID JOIN Meeting M ON MH.MeetingID=M.MeetingID JOIN MeetingPlanner MP ON MP.MeetingPlannerID=M.MeetingPlannerID WHERE PrimaryEntityID=2424 AND WR.TimeResultTaken>='1/1/2016' AND CardSet=2 I've looked it up but I can't find any examples on how to do a full outer join with multiple joins. I want to pull the exact opposite of the above query.
How would I go about doing this?
Here is exactly what I'm looking for:
Updated code:
SELECT MP.* FROM SurveyFrontend..WebResult WR FULL OUTER JOIN MeetingHistory MH ON MH.WebResultID=WR.WebResultID FULL OUTER JOIN Meeting M ON MH.MeetingID=M.MeetingID FULL OUTER JOIN MeetingPlanner MP ON MP.MeetingPlannerID=M.MeetingPlannerID WHERE PrimaryEntityID=2424 AND WR.TimeResultTaken>='1/1/2016' AND CardSet=2 AND (MH.WebResultID IS NULL OR MH.MeetingID IS NULL OR MP.MeetingPlannerID IS NULL OR WR.WebResultID IS NULL OR M.MeetingID IS NULL OR M.MeetingPlannerID IS NULL) 
JOINhere (which is implicitly anINNER JOIN) withFULL OUTER JOIN,WHEREanyA key(s) areNULLor any B keys areNULL. The syntax is shown in the image you cropped: codeproject.com/KB/database/Visual_SQL_Joins/…