my $max = $dbh->selectrow_array('select max(m) from m');