Ver Mensaje Individual
  #4 (permalink)  
Antiguo 26/12/2010, 18:37
Avatar de bocho0610
bocho0610
 
Fecha de Ingreso: enero-2010
Ubicación: <? echo "Santiago, Chile"; ?>
Mensajes: 341
Antigüedad: 14 años, 4 meses
Puntos: 26
Respuesta: Re ordenar tablas

Código SQL:
Ver original
  1. SELECT * FROM tu_tabla ORDER BY tu_atributo_id DESC;

el ultimo registro ingresado quedara de los primeros

4
3
2
1
__________________
Sigueme en Twitter!
Septimoarte.cl <-- Un mundo en cine.