I’m trying to convert an Oracle outer join query into Access. But I’m getting fewer records with Access than Oracle. Any advice or examples would help.
Oracle
WHERE
( product.SERVICEid=SERVICE.SERVICEid(+) )
AND ( SERVICE.repid=employee.employeeid(+) )
Access
SELECT DISTINCT PRODUCT.SERVICEID, EMPLOYEE.EMPLOYEEID, SERVICE.REPID
FROM PRODUCT LEFT JOIN (SERVICE LEFT JOIN EMPLOYEE ON SERVICE.REPID = EMPLOYEE.EMPLOYEEID) ON PRODUCT.SERVICEID = SERVICE.SERVICEID;
Oracle
WHERE
( product.SERVICEid=SERVICE.SERVICEid(+) )
AND ( SERVICE.repid=employee.employeeid(+) )
Access
SELECT DISTINCT PRODUCT.SERVICEID, EMPLOYEE.EMPLOYEEID, SERVICE.REPID
FROM PRODUCT LEFT JOIN (SERVICE LEFT JOIN EMPLOYEE ON SERVICE.REPID = EMPLOYEE.EMPLOYEEID) ON PRODUCT.SERVICEID = SERVICE.SERVICEID;