Ok, I'm a beginner so forgive me for my ignorance. Could someone help
me with this?
tbl_x has two fields xid and xlist
xlist being a list of numbers.....1, 5, 6, 8
i want to create a new table from tbl_x that converts each number in
that xlist into a row in tbl_new
so for example
tbl_x has 3 rows
xid xlist
1 1, 4, 5
2 2, 3, 7
3 2, 1, 7
i need a query or sql script that will convert that table with a list
into the following....
tbl_new
id xid xlid
1 1 1
2 1 4
3 1 5
4 2 2
5 2 3
6 2 7
7 3 2
8 3 1
9 3 7
me with this?
tbl_x has two fields xid and xlist
xlist being a list of numbers.....1, 5, 6, 8
i want to create a new table from tbl_x that converts each number in
that xlist into a row in tbl_new
so for example
tbl_x has 3 rows
xid xlist
1 1, 4, 5
2 2, 3, 7
3 2, 1, 7
i need a query or sql script that will convert that table with a list
into the following....
tbl_new
id xid xlid
1 1 1
2 1 4
3 1 5
4 2 2
5 2 3
6 2 7
7 3 2
8 3 1
9 3 7
Comment