Hallo !
I have 2 tables with similar construction.
DataOLD and DataNEW.
In my grid I need a JOINED table.
On the one hand I need all the data from the old table and the data
from then new table with the same id (left outer join works)
But additionally I need all rows from the new table where no equivalent
rows are in the old table.
example:
TableOLD
diameter amountOLD
20 100
50 200
30 300
TableNEW
diameter amountNEW
20 500
60 600
70 120
Wished Result:
diameter amountOLD amoutNEW
20 100 500
50 200 NULL
30 300 NULL
60 NULL 600
70 NULL 120
Who can help me?
Many Thanks.
aaapaul
I have 2 tables with similar construction.
DataOLD and DataNEW.
In my grid I need a JOINED table.
On the one hand I need all the data from the old table and the data
from then new table with the same id (left outer join works)
But additionally I need all rows from the new table where no equivalent
rows are in the old table.
example:
TableOLD
diameter amountOLD
20 100
50 200
30 300
TableNEW
diameter amountNEW
20 500
60 600
70 120
Wished Result:
diameter amountOLD amoutNEW
20 100 500
50 200 NULL
30 300 NULL
60 NULL 600
70 NULL 120
Who can help me?
Many Thanks.
aaapaul
Comment