If you have some 150 records in a database table and want to do calculations of the groups of records. For example 4 records per each group and to calculate averages for each group. Then, you should get 150 / 4 = 37. That 37 new records with remaining 2 records should be grouped and calculated. I need to get a code that will group and calculate the records for each group and for an eventually remaining records.
Thank you
Thank you