Primeiro imagine que as 2 consultas fossem apenas tabelas. Você faria isto:
select a.producer, a.firstquerycolumn, b.secondquerycolumn from table1 a join table2 b on b.producer = a.producer
Você pode substituir cada tabela por uma consulta (conhecida como inline view):
select a.Prod, a.AnimalsBought, b.AnimalsExploration from ( select Producers.name Prod, count(Animals.idanimal) AnimalsBought from AnimalsBought, Animals, Producers where (AnimalsBought.idanimal = Animals.idanimal) and (Animals.owner = Producers.nif) group by Producers.name ) a join ( select Producers.name Prod, count(Animals.idanimal) AnimalsExploration from AnimalsExploration, Animals, Producers where (AnimalsExploration.idanimal = Animals.idanimal) and (Animals.owner = Producers.nif) group by Producers.name ) b on a.Prod = b.Prod;
Você pode precisar mudar meu "join" para "full outer join" se uma consulta puder retornar dados para um produtor em que a outra não retorna. Eu também tenderia a reestruturar a consulta da seguinte forma, fazendo uma consulta principal sobre Producers com outer join às 2 subconsultas (com Producers removido):
select Producers.name Prod, a.AnimalsBought, b.AnimalsExploration from Producers left outer join ( select Animals.owner, count(AnimalsBought.idanimal) AnimalsBought from AnimalsBought, Animals where AnimalsBought.idanimal = Animals.idanimal group by Animals.owner ) a on a.owner = Producers.nif left outer join ( select Animals.owner, count(Animals.idanimal) AnimalsExploration from AnimalsExploration, Animals where AnimalsExploration.idanimal = Animals.idanimal group by Animals.owner ) b on b.owner = Producers.nif;
(É esse tipo de consulta cujo desempenho testei abaixo).
Em vez de sobrecarregar esta resposta com informações provavelmente não interessantes ao autor, minhas notas sobre o desempenho relativo de subconsultas escalares e inline views no Oracle (solicitadas pelo PerformanceDBA) estão agora offline aqui: Notes on Performance