Ver Mensaje Individual
  #4  
Antiguo 07-02-2007
Avatar de KeyMan
KeyMan KeyMan is offline
Miembro
 
Registrado: oct 2005
Posts: 32
Reputación: 0
KeyMan Va por buen camino
Muchas gracias por las respuestas al final lo solucioné así: Espero no tener problemas en el futuro:
Código SQL [-]
select * from noticias where fecha = (select max(fecha) from noticias where visualizar = 1) and hora  = (select max(hora) from noticias where visualizar = 1) group by codnoticia;
__________________
Saludos.. KeyMan
Responder Con Cita