Ver Mensaje Individual
  #8  
Antiguo 31-01-2011
abelg abelg is offline
Miembro
 
Registrado: jul 2004
Posts: 50
Reputación: 20
abelg Va por buen camino
no estoy seguro si funciona en Interbase, pero en Sql Server funciona.

Select Rank= COUNT(*), c1.id_cliente, c1.nombre, c1.fechanac
from Cliente c1, Cliente c2
where c1.id_cliente >= c2.id_cliente
group by c1.id_cliente, c1.nombre, c1.fechanac
order by Rank
Responder Con Cita