when the id is the same, the rows with the same content are merged
:
<table id="tb" border="1">
<thead>
<tr>
<td align="center"></td>
<td>id</td>
<td></td>
<td></td>
<td></td>
</tr>
</thead>
<tr>
<td align="center">1</td>
<td>001</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td align="center">2</td>
<td>001</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td align="center">3</td>
<td>004</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td align="center">4</td>
<td>003</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td align="center">5</td>
<td>003</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td align="center">6</td>
<td>005</td>
<td></td>
<td></td>
<td></td>
</tr>
</table>