title: How to perform mathematical operation on data from CSV File?
body: <p>I've csv file with 125 columns </p>
  
  <p>Indicative 125 columns are : 
  ROLL_NO, SCHOOL_ID, NAME, STANDARD, SOURCE_ID, Q1,Q2,Q3 (this continues upto) Q120</p>
  
  <p>CSV file is having around 20,0000 records (For various Schools) </p>
  
  <p>I want to calculate perform some mathematical operations on the data present in CSV file. Expected operations are : </p>
  
  <ul>
  <li>Find Average </li>
  <li>Find Maximum Marks (for each school)  </li>
  <li>Summation of data of specific column</li>
  </ul>
  
  <p>Currently I'm planning to load this CSV in Database and perform required operation ; I've few questions before getting started;</p>
  
  <ul>
  <li>Is there any alternate approach to perform maths operation using PHP (without loading in DB) </li>
  <li>How to store columns in csv as rows in Database table (from Q1 to Q120) </li>
  </ul>