oralce查询同时查询多个分区有什么办法

oracle查询多个分区有什么好的办法?
select * from table partition(p20211001)
union all
select * from table partition(p20220101)

select * from 分区表 where 分区键>= ? and 分区键<=?即可,数据库会自动判断走哪些分区

看你要什么结果了,where 条件里可以使用分区键啊 ,union all也可以跨分区查询