title: Get data from one table and for each record from this table insert data into another table
body: <p>I have 1 tables userinfo as shown below.There may be 1000 records.<br>
  I want to get each record from table userinfo and insert into tblRating.
  For RatingQue1,RatingQue2,RatingQue3 i want add '4'.I want final result of tblRating as shown in tblRating below.</p>
  
  <p>userinfo</p>
  
  <pre><code> Id   empname managername     
    1    E1      M1
    2    E2      M1
    .     .       .
    .     .       .
    100   E100    M1
  </code></pre>
  
  <p>tblRating</p>
  
  <pre><code> Id  ratingby   ratedto  RatingQue1 RatingQue2 RatingQue3 Avg 
   1     M1        E1        4            4          4       4
   2     M1        E2        4            4          4       4     
   .     .          .        .             .         .       .
   .     .          .        .             .         .       .
   100   M1        E100      4            4          4       4  
  </code></pre>