Hi all:
I have two tables: march05 and march06
Both tables have the following fields:
ID
Name
Qty
Amount
The problem is march05 has some items that march06 does not and vice versa. There are other items that are present in both tables. I want to write a query that will generate the following result
ID
Name
Qty05
Amount05
Qty06
Amount06
If an item present in both years the respective values from "05" and "06" are shown fpr that item. However, if the items are not common, then the values for that year are shown for that item and the the cells are left blank for the other year.
Please let me know if this is clear enough. If not, I will try to post with examples.
Thanks.
I have two tables: march05 and march06
Both tables have the following fields:
ID
Name
Qty
Amount
The problem is march05 has some items that march06 does not and vice versa. There are other items that are present in both tables. I want to write a query that will generate the following result
ID
Name
Qty05
Amount05
Qty06
Amount06
If an item present in both years the respective values from "05" and "06" are shown fpr that item. However, if the items are not common, then the values for that year are shown for that item and the the cells are left blank for the other year.
Please let me know if this is clear enough. If not, I will try to post with examples.
Thanks.