public function min($colName)
    {
        
        $min = INF;
        foreach ($this->rows as $row) {
            if ($min>$row[$colName]) {
                $min = $row[$colName];
            }
        }
        return $min;
    }