My database structure contains columns: id, name, value, dealer. I want to retrieve row with lowest value for each dealer
id, name, value, dealer
value
dealer
SELECT MIN(value),dealer FROM table_name GROUP BY dealer;