OK, I want to return a result set that looks similar to this:
id region
----- -------
00001 US
EUR
ASIA
00002 EUR
ASIA
00003 SA
US
What's happening here is that the id is the same where the blank spaces are. So, id 00001 has regions US, EU, and ASIA. Is this possible with simple SQL or do I need to write a stored proc?
id region
----- -------
00001 US
EUR
ASIA
00002 EUR
ASIA
00003 SA
US
What's happening here is that the id is the same where the blank spaces are. So, id 00001 has regions US, EU, and ASIA. Is this possible with simple SQL or do I need to write a stored proc?