Adaptation of the Algorithms for Execution of the Aggregate Operations for the Purposes of the Virtual Laboratory on "Databases"

Studying a course "Databases" involves not only understanding of complex notions, methods and operations, that are specific for this field, but also common notions and operations from the field of mathematics and informatics like aggregate operations. In this paper, we define a set of aggregate operations, namely summing, counting, averaging, finding minimal and maximal element, and sorting, and adapt algorithms for their execution to work with databases' records for the purposes of Virtual Laboratory on "Databases" course. In parallel, we report and explain the evaluation of the algorithms' complexity.