J
Joe
I have two tables table1 and table2, one for beginning of year data and the
other for end of year data.
Some accounts are in table one, but not in table 2 and others are in table 2
and not in table 1. need to make a query to return ALL accounts that are in
both tables and show a zero if it is not found. AN example is below.
Table 1
Begin Balance
Acct1 20
Acct2 30
=====================
Table 2
End Balance
Acct 2 25
Acct 3 35
==================================
Acct 1 is not in table 2, Acct3 is not in table 1
I need a query to return blank values for all records like this:
Beg End
Acct 1 20 0
Acct 2 30 25
Acct 3 0 35
other for end of year data.
Some accounts are in table one, but not in table 2 and others are in table 2
and not in table 1. need to make a query to return ALL accounts that are in
both tables and show a zero if it is not found. AN example is below.
Table 1
Begin Balance
Acct1 20
Acct2 30
=====================
Table 2
End Balance
Acct 2 25
Acct 3 35
==================================
Acct 1 is not in table 2, Acct3 is not in table 1
I need a query to return blank values for all records like this:
Beg End
Acct 1 20 0
Acct 2 30 25
Acct 3 0 35