title: MySQL split and join the values
body: <p>I have a table [mapping] with 2 columns similar to below</p>
  
  <pre><code>id  | values
  1   | 1,2
  2   | 1,2,3
  3   | 1,1
  4   | 1,1,2
  </code></pre>
  
  <p>and another table [map] is similar to this</p>
  
  <pre><code>sno | values
  1   | Test
  2   | Hello
  3   | Hai
  </code></pre>
  
  <p>My expected output is </p>
  
  <pre><code>id  | values
  1   | Test,Hello
  2   | Test,Hello,Hai
  3   | Test,Test
  4   | Test,Test,Hello
  </code></pre>
  
  <p>Is it possible? If it is please can anybody build a query for me.</p>