Ver Mensaje Individual
  #24 (permalink)  
Antiguo 29/11/2010, 14:44
chavewain2
 
Fecha de Ingreso: junio-2010
Mensajes: 73
Antigüedad: 13 años, 10 meses
Puntos: 1
Respuesta: Select agrupado

creo que asi si me funciona

SELECT a.categoria, a.articulo, a.titulo, a.subtitulo, a.id from articulos a where a.id in (select max(id) from articulos group by categoria) order by id desc