select id, nombre, slug, activo, paises.* from editoras, paises where nombre LIKE 'O%' and editoras.pais=paises.cod and activo=1 order by nombre asc