I am trying to split a row into two rows depending on the value in a cell on that row. For example, I have the following table structure (it's a temporary table without any keys, indexes or anything whatsoever and i can select the split results in another temporary table):
Col1 | Col2
a | one
b | two
c | three
d | one two
e | one two
Then it it should be split into:
Col1 | Col2
a | one
b | two
c | three
d | one
d | two
e | one
e | two
The problem is that I can't understand how to start, I found these two questions, which are similar, in my case it's an empty string instead: