Yes you are correct Sir, but my second statement says that:
- If there is no row found with "E" or "C" then that should be created with NULL or ZERO value.
So that's why, after getting below result:
Col2--Col3--Col4
ABC--E-----5000 + 4000 = 9000
ABC--C-----6000
XYZ--E-----3000
PQR--C-----5000
I wanted to add new rows with NULL values in Col4:
Col1--Col2--Col3--Col4
4-----XYZ--C-----0000
5-----PQR--E-----0000
Hope you got it..
Regards
Somnath