Simple query question

L

Luis

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
 
K

KARL DEWEY

Try this --
Select a.requirement, b.number
from a LEFT JOIN b ON a.requirement = b.requirement;
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top