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