SQL> CREATE TABLEcustomer
2 (state_name VARCHAR2(20),comments VARCHAR2(20))
3PARTITION BY LIST (state_name)
4 (PARTITION rebels VALUES ('North Carolina', 'South Carolina'),
5PARTITION yankees VALUES ('New York','Maine'),
6PARTITION OTHERS VALUES(DEFAULT));
Table created.
Elapsed: 00:00:00.14
SQL> insert into customer values ('Virginia','None');
1 row created.
Elapsed: 00:00:00.01
SQL> select * from customer partition (others);
STATE_NAME
COMMENTS
---------------------------------------- ----------------------------------------
Virginia
None
Elapsed: 00:00:00.01
SQL> |