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

SELECT a.categoria, a.articulo, a.titulo, a.subtitulo, (SELECT max(id) FROM articulos WHERE categoria = a.categoria) As item_id FROM articulos a group by categoria

resuelto