Ver Mensaje Individual
  #2 (permalink)  
Antiguo 13/08/2007, 13:27
deliriumlabs
 
Fecha de Ingreso: agosto-2007
Ubicación: Mexico
Mensajes: 55
Antigüedad: 16 años, 9 meses
Puntos: 0
Re: Ayuda con fechas y registros repetidos!!

hmmm interesante haber si esta consulta te sirve asumo que usas MySQL

Código:
SELECT
  *
FROM Cursos t1
inner join(
            select
              distinct fecha
            from Cursos
            group by id_curso
            order by fecha ASC ) t2 on t2.fecha=t1.fecha
group by id_curso
Order by id_curso,t1.fecha desc;