oracle 多表插入
insert all when sum<10000 then into small when sum >=1000 and sum <10000 then into medium else into large select * from orders group by id
insert all when sum<10000 then into small when sum >=1000 and sum <10000 then into medium else into large select * from orders group by id