Ciao shaithana,
prova così:

select B.* from tab1 A, tab2 B
where a.id = b.id

Ciao