Help for this page

Select Code to Download


  1. or download this
      SELECT
        colIP,
    ...
        SUM(colPartitionFree) as free
      FROM table_name
      GROUP BY colIP
    
  2. or download this
    my $rows = ...; # ref to AoH
    my %ips;
    ...
      $ips{ $row->{colIP} }->{ colPartitionFree } += $row->{colPartitionFr
    +ee};
    }
    print Dumper \%ips;