title: Sum of Multiple rows in MySql
body: <p>I have data in this manner</p>
  
  <pre><code>ID       SUB       Marks    
   1      English      25
   1       Maths       22
   1      Science      15
   2      English      16
   2       Maths       20
   2      Science      12
  </code></pre>
  
  <p>And so on...</p>
  
  <p>How would I sum all subject marks and give total marks of each ID?</p>
  
  <p>For example, if I select ID=1 then it should show 62.</p>