Hi all,
I need to join from the concatenate column separated by space delimiter.
Input
After joined 2 tables above, I would like the output result like below
Any help with query would be appreciated.
Thanks guys,
I need to join from the concatenate column separated by space delimiter.
Input
Code:
Table1
ClientID CityCode
1 2011 2012 2013
2 2011 2012
Table2 (ref table)
CityCode CityName
2011 Sydney
2012 Melbourne
2013 Perth
After joined 2 tables above, I would like the output result like below
Code:
Table3
ClientId Cityname
1 Sydney Melbourne Perth
2 Sydney Melbourne
Any help with query would be appreciated.
Thanks guys,