I have a table that looks like this:
A 1
A 2
B 1
B 2
And I want to produce a result set that looks like this:
A 1 2
B 1 2
Is there a SQL statement that will do this? I am using Oracle.
Related questions:
- Returning multiple rows from a single row My question is close to the opposite of this question.
- Use LINQ to concatenate This is exactly what I want to do, but without LINQ.