Info used below: x = int y = string
I'm trying to
SELECT x FROM table
Now this is basic enough. However i want to only select 10, which again is simple enough. However I want to select 10 of each y. What do i mean?
SELECT x FROM table ORDER BY y LIMIT 10;
Now this would return 10 rows, however I want to get 10 x values for every y value.
You can imagne the table like this:
Now theoretically I would have 30 different Y values and i would like to get 10 X values for every Y value. Is this at all possible? If so how would I go about it?