S
stupid
Unregistered / Unconfirmed
GUEST, unregistred user!
<table border="1">
<tr>
<td>序号(key)</td>
<td>商场代码</td>
<td>商品代码</td>
<td>售价</td>
<td>统计时间</td>
</tr>
<tr>
<td>1......1</td>
<td>01</td>
<td><font color="#00FF00">s1</font></td>
<td>100</td>
<td>1998-1-1</td>
</tr>
<tr>
<td>1......2</td>
<td>01</td>
<td><font color="#00FF00">s1</font></td>
<td><font color="#FF0000">200</font></td>
<td><font color="#FF0000">1998-11-2</font></td>
</tr>
<tr>
<td>1......3</td>
<td>01</td>
<td>s2</td>
<td>300</td>
<td>1998-12-1</td>
</tr>
<tr>
<td> </td>
<td>02</td>
<td><font color="#0000FF">s2</font></td>
<td><font color="#FF0000">400</font></td>
<td><font color="#FF0000">1999-1-1</font></td>
</tr>
<tr>
<td> </td>
<td>02</td>
<td><font color="#0000FF">s2</font></td>
<td>110</td>
<td>1998-4-1</td>
</tr>
<tr>
<td> </td>
<td>02</td>
<td>s3</td>
<td>120</td>
<td>1998-4-5</td>
</tr>
<tr>
<td> </td>
<td>03</td>
<td><font color="#0000FF">s2</font></td>
<td>130</td>
<td>1997-3-6</td>
</tr>
<tr>
<td> </td>
<td>03</td>
<td><font color="#0000FF">s2</font></td>
<td><font color="#FF0000">145</font></td>
<td><font color="#FF0000">1998-7-1</font></td>
</tr>
<tr>
<td> </td>
<td>03</td>
<td><font color="#0000FF">s2</font></td>
<td>134</td>
<td>1998-6-6</td>
</tr>
<tr>
<td> </td>
<td>03</td>
<td>s3</td>
<td>212</td>
<td>1999-1-1</td>
</tr>
<tr>
<td>..........</td>
<td>........</td>
<td>....</td>
<td>...</td>
<td>....</td>
</tr>
<tr>
<td>1.......n</td>
<td>0n</td>
<td>sn</td>
<td>140</td>
<td> </td>
</tr>
</table>
<p>我的目的是:取得各商场的各种商品的最新销售价</p>
<p>产生如下表格。希望各位大虾教我一手。</p>
<table border="1">
<tr>
<td>商品代码</td>
<td>商场1售价</td>
<td>商场2售价</td>
<td>商场3售价</td>
<td>商场..售价</td>
<td>商场n售价</td>
</tr>
<tr>
<td>s1</td>
<td><font color="#FF0000">200</font></td>
<td>0</td>
<td>0</td>
<td>0</td>
<td>0</td>
</tr>
<tr>
<td>s2</td>
<td>300</td>
<td><font color="#FF0000">400</font></td>
<td><font color="#FF0000">145</font></td>
<td>0</td>
<td>0</td>
</tr>
<tr>
<td>s3</td>
<td>0</td>
<td>120</td>
<td>212</td>
<td>0</td>
<td>0</td>
</tr>
<tr>
<td>....</td>
<td>...</td>
<td>...</td>
<td>...</td>
<td>...</td>
<td>...</td>
</tr>
</table>
<tr>
<td>序号(key)</td>
<td>商场代码</td>
<td>商品代码</td>
<td>售价</td>
<td>统计时间</td>
</tr>
<tr>
<td>1......1</td>
<td>01</td>
<td><font color="#00FF00">s1</font></td>
<td>100</td>
<td>1998-1-1</td>
</tr>
<tr>
<td>1......2</td>
<td>01</td>
<td><font color="#00FF00">s1</font></td>
<td><font color="#FF0000">200</font></td>
<td><font color="#FF0000">1998-11-2</font></td>
</tr>
<tr>
<td>1......3</td>
<td>01</td>
<td>s2</td>
<td>300</td>
<td>1998-12-1</td>
</tr>
<tr>
<td> </td>
<td>02</td>
<td><font color="#0000FF">s2</font></td>
<td><font color="#FF0000">400</font></td>
<td><font color="#FF0000">1999-1-1</font></td>
</tr>
<tr>
<td> </td>
<td>02</td>
<td><font color="#0000FF">s2</font></td>
<td>110</td>
<td>1998-4-1</td>
</tr>
<tr>
<td> </td>
<td>02</td>
<td>s3</td>
<td>120</td>
<td>1998-4-5</td>
</tr>
<tr>
<td> </td>
<td>03</td>
<td><font color="#0000FF">s2</font></td>
<td>130</td>
<td>1997-3-6</td>
</tr>
<tr>
<td> </td>
<td>03</td>
<td><font color="#0000FF">s2</font></td>
<td><font color="#FF0000">145</font></td>
<td><font color="#FF0000">1998-7-1</font></td>
</tr>
<tr>
<td> </td>
<td>03</td>
<td><font color="#0000FF">s2</font></td>
<td>134</td>
<td>1998-6-6</td>
</tr>
<tr>
<td> </td>
<td>03</td>
<td>s3</td>
<td>212</td>
<td>1999-1-1</td>
</tr>
<tr>
<td>..........</td>
<td>........</td>
<td>....</td>
<td>...</td>
<td>....</td>
</tr>
<tr>
<td>1.......n</td>
<td>0n</td>
<td>sn</td>
<td>140</td>
<td> </td>
</tr>
</table>
<p>我的目的是:取得各商场的各种商品的最新销售价</p>
<p>产生如下表格。希望各位大虾教我一手。</p>
<table border="1">
<tr>
<td>商品代码</td>
<td>商场1售价</td>
<td>商场2售价</td>
<td>商场3售价</td>
<td>商场..售价</td>
<td>商场n售价</td>
</tr>
<tr>
<td>s1</td>
<td><font color="#FF0000">200</font></td>
<td>0</td>
<td>0</td>
<td>0</td>
<td>0</td>
</tr>
<tr>
<td>s2</td>
<td>300</td>
<td><font color="#FF0000">400</font></td>
<td><font color="#FF0000">145</font></td>
<td>0</td>
<td>0</td>
</tr>
<tr>
<td>s3</td>
<td>0</td>
<td>120</td>
<td>212</td>
<td>0</td>
<td>0</td>
</tr>
<tr>
<td>....</td>
<td>...</td>
<td>...</td>
<td>...</td>
<td>...</td>
<td>...</td>
</tr>
</table>