Unanswered: OUTER JOIN in Microsoft Query Using Multiple Tables
I am trying to create a query in Microsoft Query to return data to Excel. My query has 9 tables and I need to perform an outer join on one of the tables. I get an error message saying I cannot perform an outer join with more than two tables but that I can do it in SQL. I am not very good at writing SQL. The table I need the OUTER JOIN on is TW_V_CAIR_QR.
Here is my code
SELECT PR.id, Division_Type.name, TW_V_RESPONSIBLE_DEPARTMENT_UN.s_value, PR.name, TW_V_ISSUE_DESCRIPTION.text, TW_V_ACTUAL_RESOLUTION.text, TW_V_PREVENTATIVE_ACTION.text, TW_V_ISSUE_CLASSIFICATION.s_value, TW_V_CAIR_QR.s_value
FROM comdev.CMADM.Division_Type Division_Type, comdev.CMADM.PR PR, comdev.CMADM.project project, comdev.CMADM.TW_V_ACTUAL_RESOLUTION TW_V_ACTUAL_RESOLUTION, comdev.CMADM.TW_V_CAIR_QR TW_V_CAIR_QR, comdev.CMADM.TW_V_ISSUE_CLASSIFICATION TW_V_ISSUE_CLASSIFICATION, comdev.CMADM.TW_V_ISSUE_DESCRIPTION TW_V_ISSUE_DESCRIPTION, comdev.CMADM.TW_V_PREVENTATIVE_ACTION TW_V_PREVENTATIVE_ACTION, comdev.CMADM.TW_V_RESPONSIBLE_DEPARTMENT_UN TW_V_RESPONSIBLE_DEPARTMENT_UN
WHERE PR.project_id = project.id AND Division_Type.id = project.division_type AND TW_V_RESPONSIBLE_DEPARTMENT_UN.pr_id = PR.id AND PR.id = TW_V_ISSUE_DESCRIPTION.pr_id AND PR.id = TW_V_ACTUAL_RESOLUTION.pr_id AND PR.id = TW_V_PREVENTATIVE_ACTION.pr_id AND PR.id = TW_V_ISSUE_CLASSIFICATION.pr_id AND TW_V_CAIR_QR.pr_id = PR.id AND ((PR.date_created Between ? And ?) AND (project.name='Reportable Issue'))Any help would be appreciated.