I got a output like by following
ID Name  Col1  Col2  Col3  
1  ABC    X     0     0
2  ABC    0     Y     0 
3  ABC    0     0     Z
I need this followed by
ID Name  Col1  Col2  Col3  
1  ABC    X     Y     Z
I tried group by Name but it is not working
 
     
    