Ver Mensaje Individual
  #5 (permalink)  
Antiguo 19/04/2007, 11:25
daniel00
 
Fecha de Ingreso: noviembre-2006
Ubicación: México
Mensajes: 866
Antigüedad: 18 años, 3 meses
Puntos: 8
Re: consulta sumando y agrupando

Que tal humanista.

Así:
Código:
Select IdEnlance, count(*) as Count_ 
From myTable
Group by IdEnlace
Order by count(*) DESC 
Saludos!