Here is the SQL query codes:
SELECT tbl_AIG_Dept_PLA.PLA_ID, tbl_AIG_Dept_PLA.Department_ID, tbl_PLAIN_LANGUAGE_ADDRESS.PLA_NAME,
tbl_Department.D_ID, tbl_Department.Section_ID
FROM tbl_PLAIN_LANGUAGE_ADDRESS INNER JOIN(tbl_Department RIGHT JOIN tbl_AIG_Dept_PLA
ON tbl_Department.Department_ID = tbl_AIG_Dept_PLA.Department_ID) ON
tbl_PLAIN_LANGUAGE_ADDRESS.PLA_ID = tbl_AIG_Dept_PLA.PLA_ID
WHERE(tbl_AIG_Dept_PLA.AIG_ID = 431) AND tbl_AIG_Dept_PLA.Distribution_Code = 'A'
ORDER BY tbl_PLAIN_LANGUAGE_ADDRESS.PLA_NAME, tbl_Department.D_ID
I can not figure out the code inside of INNER JOIN, I appreciate if anybody can help me out, much appreciated!!