Table:
id race
1 elf
1 troll
2 lizard
2 elf
2 human
3 dwarf
I am looking for a request that output this:
id race1 race2 race3
1 elf troll
2 lizard elf human
3 dwarf
There can be n race or a given max number of races if it's more easy
Is this possible with an sql query (not pl/sql)? (oracle if special function is needed)