I am trying to make this happen with SQL.
Table looks like this:
SerialNo part location
12345 aaa R1
12345 bbb R2
67890 ccc R3
67890 ddd R4
12345 eee R5
I want to get:
SerialNo Part1 Location1 Part2 Location2 Part3 Location3
12345 aaa R1 bbb R2 eee R5
67890 ccc R3 ddd R4
Can anyone help?