title: How do you group by this in Oracle?
body: <p>SQL</p>
  <pre><code>SELECT DATE
       , SURFACE
       , SIZE1
       , SIZE2
       , SIZE3
       , SIZE4
       , QTY
  FROM   TEST_TB
  GROUP  BY SURFACE
       , SIZE1
       , SIZE2
       , SIZE3
       , SIZE4
  ORDER  BY DATE
       , SURFACE
       , SIZE1
       , SIZE2
       , SIZE3
       , SIZE4
  </code></pre>
  <p><a href="https://i.stack.imgur.com/jwdyW.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jwdyW.png" alt="enter image description here" /></a></p>
  <p>How can I group by SURFACE, SIZE1, SIZE2, SIZE3, SIZE4
  and get the earliest date from DATE and add all the QTY?<br>
  I want to get the result like showing below but cant get it right...</p>
  <p><a href="https://i.stack.imgur.com/W7M9L.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/W7M9L.png" alt="enter image description here" /></a></p>