title: how to write query to get teacher_name in table2 by splitting values of teacher_id in table1
body: <p>here is my table2
  table 1 </p>
  
  <pre><code>1. #student_id   #student_name   #teacher_id
  ----------------------------------------
  2.  5396           aswin          5975,6266,5977,5978
  </code></pre>
  
  <p>table 2</p>
  
  <pre><code>1. #teacher_name   #teacher_id
  -----------------------------------
  1. vijay              1011
  2. syam               5975
  3. andrew             5977
  5. laxman             5467
  6. max                6756
  </code></pre>