Hi I am having a problem with following query.
SELECT id, user_id, cloth_id FROM `items` GROUP BY user_id ORDER BY id desc LIMIT 3
I want the latest records with group by
but somehow its showing old records.
I have also gone through MySQL - Group by with Order by DESC but not working as expected.