ID | NAME | SURNAME |
--------------------------------
1 | null | MIKE
-------------------------------
1 | JON | null
-------------------------
2 | SON | null
----------------------
2 | null | Berry
RESULT WILL BE AS BELOW
ID | NAME | SURNAME |
--------------------------------
1 | JON | MIKE
-------------------------------
2 | SON | Berry
Thanks in advance
VulpesPosted Apr 12, 2013, 6:32 AM
Posted Apr 14, 2013, 7:21 AM
Posted Apr 12, 2013, 6:10 AM
Thanks
VulpesPosted Apr 12, 2013, 6:03 AM
For example, can you be sure that the lines which need combining will always be next to each other, could there be more than 2 lines with the same ID column and what should you do if lines with the same ID have non-null columns which don't have the same values.
Posted Apr 12, 2013, 5:26 AM
in the table rows like this.And a lot of.Will change.So I need to create something dynamical.To combine this row based on ID in one table.
Thanks
Posted Apr 12, 2013, 5:25 AM
VulpesPosted Apr 12, 2013, 5:09 AM
Gaurav GuptaPosted Apr 12, 2013, 5:07 AM