select * from blog_fotos where idpub='89' order by idfoto asc