title: Query for addition of values in the column and insert it into another table in mysql
body: <p><a href="https://i.stack.imgur.com/rsQn4.jpg" rel="nofollow noreferrer">Click here to find the output</a></p>
  
  <ol>
  <li>I have written a query for addition of all totalindent for particular pointname.</li>
  <li>Here the problem is how to insert the total indent value of tbl1 to tbl2 using pointname tbl2 as a constraint.</li>
  <li><p>The query is </p>
  
  <p>SELECT pointname,SUM(Totalindent) FROM paperagents_tbl GROUP BY pointname ASC;</p></li>
  </ol>