如何解析
Fruit Basket
中的逗号分隔值,并将其移至其他列。
例如,我想这样
Fruit Basket Fruit1 Fruit2 Fruit3
------------ -------- -------- --------
Apple
Banana, Pear
Lemon, Peach, Apricot
to becomes this
Fruit Basket Fruit1 Fruit2 Fruit3
------------ -------- -------- --------
Apple Apple
Banana, Pear Banana Pear
Lemon, Pea... Lemon Peach Apricot
如果我不能用纯SQLite语句来做这件事,我怎么能用Python来做呢?