Good. I have a table containing data:
id cat_id title (with random values) 1 1 test 2 1 tstt 3 3 tewt 4 2 4324 5 3 rterter
Now I need to create a query that only selects ONE raw for each category (cat_id) (possibly with the smallest ID and ordered cat_id)
Thus, the result should be:
1 1 test 4 2 4324 3 3 tewt
source share