priyanthan
Programmer
I need to join two tables, but the issue is there is no similar columns to join. what i mean is;
table 1
name type notes
---- ---- ------------
12345678-22556 3601 sample notes
123123123-22555 3601 sample notes
12345678123456-22556 3602 sample notes
table 2
siteid location
------- --------
12345678 Toronto
123123123 Toronto
i need to join table 1 with table 2 on name and siteid.
In table 1 the characters upto "-" is the siteid.
Can someone help me with this.
Thanks in advance.
table 1
name type notes
---- ---- ------------
12345678-22556 3601 sample notes
123123123-22555 3601 sample notes
12345678123456-22556 3602 sample notes
table 2
siteid location
------- --------
12345678 Toronto
123123123 Toronto
i need to join table 1 with table 2 on name and siteid.
In table 1 the characters upto "-" is the siteid.
Can someone help me with this.
Thanks in advance.