cioe tipo se poi faccio

$row = mysql_fetch_array($query);

$max = $row[maggiore];

dovrebbe andar bene?