Oracle Error ORA-25199: partitioning key of a index-organized table must be a subset of the primary key

Oracle Error Message

ORA-25199: partitioning key of a index-organized table must be a subset of the primary key

Reason for the Error

An attempt to specify a partitioning key which is not a prefix of the primary key of the index-organized table

Solution

Select a different partitioning key