保存一下,我有column_name:(field_name) -产品:(编号,类别,价格) (1,00,100),(2,01,200),(3,01,300),(4,00,400),(5,00,500)
我深表歉意,我不知道该怎么办
我正在考虑极限,按顺序排序等,但我仍然不知道该怎么办。再次抱歉
我需要为每个类别找到两个最便宜的结果。我的期望应该是
<style type="text/css">
.tg {border-collapse:collapse;border-spacing:0;}
.tg td{font-family:Arial, sans-serif;font-size:14px;padding:10px 5px;border-style:solid;border-width:1px;overflow:hidden;word-break:normal;border-color:black;}
.tg th{font-family:Arial, sans-serif;font-size:14px;font-weight:normal;padding:10px 5px;border-style:solid;border-width:1px;overflow:hidden;word-break:normal;border-color:black;}
.tg .tg-0pky{border-color:inherit;text-align:left;vertical-align:top}
</style>
<table class="tg">
<tr>
<th class="tg-0pky">Category</th>
<th class="tg-0pky">Price</th>
</tr>
<tr>
<td class="tg-0pky">00</td>
<td class="tg-0pky">100</td>
</tr>
<tr>
<td class="tg-0pky">00</td>
<td class="tg-0pky">400</td>
</tr>
<tr>
<td class="tg-0pky">01</td>
<td class="tg-0pky">200</td>
</tr>
<tr>
<td class="tg-0pky">01</td>
<td class="tg-0pky">300</td>
</tr>
</table>