You will need to use 2 queries.
This gives you each unique value in either table:
SELECT F1 FROM Table1
UNION SELECT F1 FROM Table2;
Now outer-join your origional tables to this query to get the result you
wanted:
SELECT Table1.F1, Table2.F1
FROM (Query1 LEFT JOIN Table1 ON Query1.F1 = Table1.F1)
LEFT JOIN Table2 ON Query1.F1 = Table2.F1;
It may be possible to do that with a subquery, but I think it would be more
stable and efficient as a 2-step process.
--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users -
http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.
"John J." <(E-Mail Removed)> wrote in message
news:gcshvp$i52$(E-Mail Removed)...
>I have data like:
> Table1 Table2
> Fld1 Fld1
> A A
> B C
> E D
> F F
>
> I would like to make a query that gives me
>
> ResultTable with 2 fields:
> InTbl1 InTbl2
> A A
> B
> C
> D
> E
> F F
>
> Is this possible to do in one query?
> Thank you.
> John