join columns separated by delimiter in same table
问题 I have the following data set color_code fav_color_code color_code_name fav_color_name 1|2 5 blue|white black 3|4 7|9 green|red pink|yellow I need to join first value of color_code to first value of color_code_name and second value of color_code to second value of color_code_name etc.. code color 1 blue 2 white 5 black 3 green 4 red 7 pink 9 yellow I am using the below code but it is doing cross join since I dont have id to join upon. This code work if I am mapping 2 columns but not multiple