Posts by user237319 • 1 point
1 post
-
-1
votes2
answers125
viewsA: Mysql load the last purchase of each item
use a sub query select * from compra inner join (select max(id)as id,item from compra group by item) as _last on compra.id=_last.id
mysqlanswered user237319 1