SELECT DISTINCT al.id as id, al.titulo as titulo, al.fecha as date, DATE_FORMAT(al.fecha,"%d-%m-%Y") as fecha, al.imagen as imagen FROM algoritmos_i al WHERE al.publicado=1 ORDER BY date DESC