Ver Mensaje Individual
  #3 (permalink)  
Antiguo 01/02/2006, 14:46
Avatar de Mithrandir
Mithrandir
Colaborador
 
Fecha de Ingreso: abril-2003
Mensajes: 12.106
Antigüedad: 21 años, 4 meses
Puntos: 25
Prueba quitando el distinct y agregando un GROUP BY sobre todos los campos que seleccionas.

El usar los distinct en subquerys también es una buena idea.
__________________
"El hombre, en su orgullo, creó a Dios a su imagen y semejanza."
Friedrich Nietzsche