This is a cut down version of my problem. I am sure the answer is so simple
I have a sales and budget table
Sales
ID Period Sales
1 1 200
2 3 300
3 4 500
ID Period Budget
1 1 100
2 2 400
3 4 50
I would like a query to produce
Peron Sales Budget
1 200 100
2 0 400
3 300 0
4 500 50
Please help
Thanks
I have a sales and budget table
Sales
ID Period Sales
1 1 200
2 3 300
3 4 500
ID Period Budget
1 1 100
2 2 400
3 4 50
I would like a query to produce
Peron Sales Budget
1 200 100
2 0 400
3 300 0
4 500 50
Please help
Thanks