title: Creating query for printing average of two months
body: <p>I need to show monthly average of total using SQL and PHP.
  For example this table has total=254 in June &amp; total=315 in July. I need to show their average i.e. (254+315)/2= 284.5</p>
  <p>What SQL query should I make to print their average using PHP?</p>
  <p><a href="https://i.stack.imgur.com/FrYV5.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FrYV5.png" alt="The data of table is.." /></a></p>