title: How to get field "bikinMain" values from left outer join on multi sum in master table mysql query
body: <pre><code>SELECT 
      SUM(trowmain)  AS total_trow,
      SUM(trimmain)  AS total_trim,
  
  tblprod_podetails.bikinMain AS qtyBikin
  
  FROM tblprod_poproses 
  LEFT OUTER JOIN tblprod_podetails
  ON tblprod_poproses.poProsesID = tblprod_podetails.poDetailsID
  WHERE forming = '1'
  </code></pre>
  
  <h2>when select forming = 1, total trow and qtyMake correct.</h2>
  
  <pre><code>total_trow | total_trim | qtyMake
      20            0          25
  </code></pre>
  
  <h2>problem : when select forming = 2 total_trim OK, but qtyMake is null</h2>
  
  <pre><code>total_trow | total_trim | qtyMake
      0           15          null
  </code></pre>