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

VulpesRank #55 · 29.2K reputationPosted Apr 12, 2013, 2:32 AM EDT
Gaurav GuptaRank #123 · 17.8K reputationPosted Apr 12, 2013, 1:07 AM EDT
VulpesRank #55 · 29.2K reputationPosted Apr 12, 2013, 1:09 AM EDT
Posted Apr 12, 2013, 1:25 AM EDT
Posted Apr 12, 2013, 1:26 AM EDT
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
VulpesRank #55 · 29.2K reputationPosted Apr 12, 2013, 2:03 AM EDT
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, 2:10 AM EDT
Thanks
Posted Apr 14, 2013, 3:21 AM EDT