Hi,
I have a small problem of the following Tables, I have MyTable1 (for example) and I want to attach content of following MyTable2 to MyTable1, but MyTable2 have the Data just 1 week ago, and it should be in appropriate columns against that columns in MyTable1, pl tel me what can I do?
MyTable 1 :
Id_Date Id_Branch NewBalance
07/08/2012 1270 160000
07/08/2012 1654 170000
07/08/2012 3046 160000
---------------------------------------
11/08/2012 2046 140000
11/08/2012 4395 170000
11/08/2012 1720 160000
MyTable 2 :
Id_Date OldBalance
18/08/2012 140000
18/08/2012 170000
18/08/2012 160000
It should be some thing like this(MyTable 3) :
Id_Date Id_Branch NewBalance OldBalance
07/08/2012 1270 160000 -
07/08/2012 1654 170000 -
07/08/2012 3046 160000 -
---------------------------------------------------
11/08/2012 2046 140000 160000
11/08/2012 4395 170000 170000
11/08/2012 1720 160000 160000
---------------------------------------------------
18/08/2012 3046 110000 140000
18/08/2012 3046 160000 170000
18/08/2012 3046 150000 160000
Thanks a lot.....