Ver Mensaje Individual
  #3 (permalink)  
Antiguo 09/09/2008, 13:33
jurena
Colaborador
 
Fecha de Ingreso: marzo-2008
Ubicación: Cáceres
Mensajes: 3.735
Antigüedad: 16 años, 1 mes
Puntos: 300
Respuesta: Crear TOP10 con registros de la db

Solo amplío algo la información para añadir el order descendente por visitas y limitar a 10.

SELECT `browser`, COUNT(`visitas`) AS 'totalvisitas' FROM `visitas` GROUP BY `browser`ORDER BY totalvisitas DESC limit 10