Ver Mensaje Individual
  #2 (permalink)  
Antiguo 17/11/2009, 10:18
Avatar de huesos52
huesos52
Colaborador
 
Fecha de Ingreso: febrero-2009
Ubicación: Manizales - Colombia
Mensajes: 5.980
Antigüedad: 15 años, 2 meses
Puntos: 360
Respuesta: random entre los ultimos registros

Código sql:
Ver original
  1. SELECT *FROM (SELECT * FROM registros LIMIT 5)t1 ORDER BY rand()

saludos
__________________
Without data, You are another person with an opinion.
W. Edwads Deming