SELECT id_utente as id,COUNT(id_oggetto) AS tot FROM tabella GROUP BY id ORDER BY tot
dovrebbe funzionare...
SELECT id_utente as id,COUNT(id_oggetto) AS tot FROM tabella GROUP BY id ORDER BY tot
dovrebbe funzionare...
Non sempre essere l'ultimo è un male... almeno non devi guardarti le spalle
il mio profilo su PHPClasses e il mio blog laboweb