title: Need help creating this aggregate SQL query
body: <p><img src="https://i.stack.imgur.com/jaxZR.png" alt="aggregated calculations on several fields"></p>
  
  <p>Is it possible to create a SQL query that will return this result set?</p>
  
  <p>Thanks for any suggestions or feedback.</p>