title: php mysql using first between last row value difference
body: <p>i display  data  use  Php . now  i want to   difference data table  first  row second column and last row second column . 
  i add image . how do it ?
  <img src="https://i.stack.imgur.com/EWIqA.jpg" alt="enter image description here"></p>