i have a table like this:
number stuff1 stuff2 stuff3
-------------------------------
1 x y
2 a
3 b
4 c d e
i want to use a sql statement to turn it into this:
number stuff1 stuff2 stuff3
-------------------------------
1 x
1 y
2 a
3 b
4 c
4 d
4 e
i am having trouble building the sql statement. please help!
alt text http://img193.imageshack.us/img193/8408/35944096.png
Let’s assume that your columns are called ID, field1, field2 and field3:
(untested; exact syntax might vary depending on the database engine used)