JSFiddle - React, Tailwind, and code Playground

HTML

<table class="myTable">
    <tr>
        <th>Items</th>
        <th>Price</th>
    </tr>
    
    <tr>
        <td>TV</td>
        <td>10000</td>
    </tr>
    
    <tr>
        <td>TV</td>
        <td>15000</td>
    </tr>
    
    <tr>
        <td>CAR</td>
        <td>750000</td>
    </tr>
    
    <tr>
        <td>CAR</td>
        <td>450000</td>
    </tr>   
</table>

JavaScript

(function DrawTable() {
    var item = {};
    $(".myTable td:first-child").each(function() {
        var key = $(this).text();
        var val = $(this).closest("td").next().text();
        if (!item.hasOwnProperty(key) || item[key] - val > 0) {
            item[key] = val;
        }
    });
    var t ="<tr><th>Items</th><th>Price</th></tr>"
    $.each(item, function(k, v) {
        t += "<tr><td>" + k + "</td><td>" + v + "</td></tr>";
    });
    $(".myTable").html(t);
})();