それらが同じ列を持っていると仮定して、union all
を使用します :
select m.*
from mountains m
where m.trip_id = 74
union all
select f.*
from forests f
where f.trip_id = 74;
それらが同じ列を持っていると仮定して、union all
を使用します :
select m.*
from mountains m
where m.trip_id = 74
union all
select f.*
from forests f
where f.trip_id = 74;