I have a mysql database, in there I have 1 table. That table contains "id","Name","Type".
I want to get 10 rows from every type. For example:
( In this example I only want 1)
0 - test1 - a
1 - test2 - a
2 - test3 - b
Than this needs to select:
0 - test1 - a
2 - test3 - b
How can I do this in 1 SQL query? Or is that impossable?