In php group by then min group row show fist,
Give an example of your data and expected output. Show some code too.
i need to by group which fine but start show by MIN(price) in all group,
id name price
5 johan 55
1 smith 70
2 wil 85
Show your code (and use code tags).
$sql = " SELECT name,surname,date,sold,MIN(price) as prices FROM clienttable WHERE ref= 'may' GROUP BY name ";
We're a friendly, industry-focused community of 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.