SELECT PRProject.ProjectNr AS ProjectNo, PRProject.ParentProject AS PRParent, PRProject.Description AS PRDesc,
PRProject.IDCustomer AS CusID, PRProject.Status AS PRStatus, dbo.cicmpy.cmp_name
FROM PRProject
LEFT OUTER JOIN ProjectAccounts on PRProject.ProjectNr = ProjectAccounts.Project
LEFT OUTER JOIN cicmpy on ProjectAccounts.Account = cicmpy.cmp_wwn
ORDER BY ProjectNr
|