Dopo la variabile $result, dove stampi le tabelle, modifica il codice in questo modo:
Codice PHP:
echo "<table style='float:left'>";
echo 
"<tbody><tr><th>Giocatore</th><th>Media Voto</th>";
if (
$result->num_rows != 0)
          {while(
$Portieri$result->fetch_assoc())
{

$Portieri"</tr>
<tr>
<td>"
.$Portieri['Nome_Cognome']."</td>
<td>"
.$Portieri['TRUNCATE(avg(pp.Voto),2)']."</td>
</tr>"
;
echo 
$Portieri;

}}
echo 
"</tbody></table>"