I have a table with a bunch of columns like this:
ID, Name1, Name2, Name3, Title1, Title2, Title3, Email1, Email2, Email3
1, joe blow, Jane doe, john doe, president, secretary, janitor, no@no.com, yes@no.com,maybe@no.com
I am trying to split into multiple rows and insert into a new table with these column headers:
ID, Name, Title, Email
*1 - joe blow, president, no@no.com
1 - Jane doe, secretary, yes@no.com
1 - John Doe, janitor, maybe@no.com*
I cant find any info online that can help me out with this one. I have over 4K entries in this table alone so a manual entry is out of the question.
The ID has to be the same for each company. meaning all one row is one ID, the next row is another ID, etc.