create table oe.tool_rentals
  (tool_num       number,
   tool_desc      varchar2(50),
   rental_rate    number(6,2))
partition by range (tool_num)
  subpartition by hash (tool_desc)
  subpartition template (subpartition s1 tablespace prd01,
                         subpartition s2 tablespace prd02,
                         subpartition s3 tablespace prd03,
                         subpartition s4 tablespace prd04,
                         subpartition s5 tablespace prd01,
                         subpartition s6 tablespace prd02,
                         subpartition s7 tablespace prd03,
                         subpartition s8 tablespace prd04)
(partition tool_rentals_p1 values less than (101),
partition tool_rentals_p2 values less than (201),
partition tool_rentals_p3 values less than (301),
partition tool_rentals_p4 values less than (maxvalue));