![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
23/12/2009, 06:54
|
![Avatar de Vun](http://static.forosdelweb.com/customavatars/avatar315484_1.gif) | Colaborador | | Fecha de Ingreso: agosto-2009 Ubicación: Benalmádena, España
Mensajes: 2.265
Antigüedad: 15 años, 6 meses Puntos: 150 | |
Respuesta: Duda en Consulta MySQL por PHP? Prueba asi select SUM(visitas) as TOTAL from tabla group by FECHA order by FECHA ASC, HORA DESC
Casi lo tenias! |