Ver originalSELECT noticia, categoria, MAX(noticia_id) n_idFROM noticiasGROUP BY categoriaORDER BY n_id;