Ver Mensaje Individual
  #2 (permalink)  
Antiguo 18/04/2007, 08:42
Avatar de flaviovich
flaviovich
 
Fecha de Ingreso: agosto-2005
Ubicación: Lima, Peru
Mensajes: 2.951
Antigüedad: 19 años, 6 meses
Puntos: 39
Re: consulta sumando y agrupando

Código:
select idenlace, count(1) [suma] 
from tabla 
where fecha between '$fechaini' and '$fechafin' 
group by idenlace
__________________
No repitamos temas, usemos el Motor de busquedas
Plantea bien tu problema: Ayúdanos a ayudarte.