i am having a table emp like
____________________________
ID | Name | Address
____________________________
1 | Jack | Street On Road
2 | Jill | Park Side Lane
I want to create a table at SELECT runtime that will create a new table on the basis of address spilited with every space. Something Like
ID | WORD | EMP_ID
1 | Street | 1
2 | On | 1
3 | Road | 1
4 | Park | 2
5 | Side | 2
6 | Lane | 2