I have two tables. I need to merge two tables with cx1
, cx2
and Date
keys. How is it?
fist table
cx1 Date Amount
1 11/1/2019 400
1 12/1/2019 200
2 15/1/2019 400
3 16/1/2019 500
Second Table
cx2 Date Amount
1 11/1/2019 300
2 16/1/2019 200
3 16/1/2019 400
Final output
cx Date Amount_1 Amount_2
1 11/1/2019 400 300
1 12/1/2019 0 300
2 15/1/2019 400 0
2 16/1/2019 0 200
3 16/1/2019 500 400