Quick simple query

  • Thread starter Thread starter luis.a.roman
  • Start date Start date
L

luis.a.roman

In oracle 9i I can execute the query below and give me all the
requirements in table a eventhough there is not match on the other
table b, how can I do that in access.

Select a.requirement, b.number
from allREquirement a, account b
where a.requirement(+) = b.number;

I tried this query in access and did not work.

Your guidance will be appreciated.

Luis
 
I am only guessing since I don't know Oracle SQL

SELECT A.Requirement, B.Number
FROM AllRequirement AS A LEFT JOIN Account AS B
ON A.LinkField = B.CorrespondingLinkField.
 
Luis,

I know nothing about Oracle, but I think you might mean like this...

SELECT allRequirement.requirement, account.number
FROM allRequirement LEFT JOIN account
ON allRequirement.requirement = account.number;
 
Back
Top