Gostaria de fazer um select que trouxesse na mesma linha o count realizado em tabelas diferentes. Ou seja,
tenho 2 selects da seguinte forma:
select s.id,count(*) total1
from tab1 s,tab2 t
where s.id = t.id
group by s.id;
select s.id,count(*) total2
from tab1 s,tab3 t1
where s.id = t1.id
group by s.id;
select s.id,count(*) total1,count(*) total2