Need help pointing in right direction using an SQL query to extract data out of this SYBASE database example:
12345 blue
12345 red
12345 green
56789 purple
56789 black
98765 brown
output must look like this:
12345 blue red green
56789 purple black
98765 brown
Was trying to use "union" or maybe "distinct" Please point me in the right direction.