Ver originalselect a.id, a.nombre, a.desc, group_concat(b.url separator ',') from articulos aleft join imagenes b on a.id = left(b.url, locate('_', b.url))group by a.id