Ver Mensaje Individual
  #2 (permalink)  
Antiguo 22/11/2006, 08:41
Avatar de Lord of freaks
Lord of freaks
 
Fecha de Ingreso: octubre-2004
Ubicación: Madrid
Mensajes: 334
Antigüedad: 19 años, 6 meses
Puntos: 2
Prueba con esto lo esencial el DISTINCT

Código:
select DISTINCT * from sorteos ORDER BY id DESC
o con


Código:
select * from sorteos GROUP BY id_sorteo ORDER BY id DESC
Un saludo
__________________
Una vez un elemental de rayos mató una tribu entera de tritones.

¡¡ El sólo quería darse un baño !!

http://www.frikilandia.com

Neither Fu Nor Fa