Hi,
i have the following table:
Name ID1 ID2 ID3 ID4
Scott 1111 2222 3333 4444
Jim 5555
Joe 6666 7777
I need to create a new table based on these values to look like this:
Name ID
Scott 1111
Scott 2222
Scott 3333
Scott 4444
Jim 5555
Joe 6666
Joe 7777
is there a way to do this in SQL?
thanks
i have the following table:
Name ID1 ID2 ID3 ID4
Scott 1111 2222 3333 4444
Jim 5555
Joe 6666 7777
I need to create a new table based on these values to look like this:
Name ID
Scott 1111
Scott 2222
Scott 3333
Scott 4444
Jim 5555
Joe 6666
Joe 7777
is there a way to do this in SQL?
thanks