Se ho capito e non scriverò una balla per quanto ne capisco...

SELECT MAX(numero) FROM tabella WHERE numero LIKE 'A%'

$result=mysql_query("select max(numero) as maxnum from tabella where numero like 'A%'");
$row = mysql_fetch_array($result);
$numero=$row["numero"];


$row[maxnum]