title: I want sum sum all the QTY which have same Model number
body: <p><a href="https://i.stack.imgur.com/cHijk.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/cHijk.png" alt="enter image description here"></a></p>
  
  <p>SL is the primary key.
  Table name -> impo
  I want to sum all the QTY which have same Model number.(Here add 40+35 because of INDO666)</p>
  
  <p>I tried this: </p>
  
  <pre><code>SELECT i.Model_num, i.QTY 
  FROM impo AS i 
      JOIN (SELECT Model_num, SUM(QTY) AS t_qty 
              FROM impo 
              GROUP BY Model_num ) 
      AS s ON i.Model_num = s.Model_num
  </code></pre>