Con una query sola in questo modo
non hai il risultato che cerchi?Codice PHP:
$query = "SELECT DISTINCT id_giocatore, * FROM statistiche ORDER BY punteggio DESC";
$result = mysql_query($query, $db);
while ($rew = mysql_fetch_assoc($result)) {
echo"Il giocatore $rew['nome'] ha fatto $rew['punteggio'] punti";
}
[EDIT] Ho visto ora che il nome lo prendi dall'altra tabella