I need to be able to take data that looks like this:
Item Location1 Location2 Location3 Location4
BC.01 East West
BC.02 West
BC.03 East West North
And display it like this: (which is how it should be stored)
Item Location
BC.01 East
BC.01 West
BC.02 West
BC.03 East
BC.03 West
BC.03 North
I know it's bad form data modeling-wise, but I'm curious if it can be done in sql.
Item Location1 Location2 Location3 Location4
BC.01 East West
BC.02 West
BC.03 East West North
And display it like this: (which is how it should be stored)
Item Location
BC.01 East
BC.01 West
BC.02 West
BC.03 East
BC.03 West
BC.03 North
I know it's bad form data modeling-wise, but I'm curious if it can be done in sql.