Supponendo che abbiano le stesse colonne, usa union all
:
select m.*
from mountains m
where m.trip_id = 74
union all
select f.*
from forests f
where f.trip_id = 74;
Supponendo che abbiano le stesse colonne, usa union all
:
select m.*
from mountains m
where m.trip_id = 74
union all
select f.*
from forests f
where f.trip_id = 74;