When you install the Oracle Database software and then create a database, you have the option of including sample schemas in your databases. These are schemas such as HR, OE, PM, SH, IX and are used in examples in Oracle documentation, and also in training materials.
If however you did not select this option, and you then wanted to include the sample schemas in an existing database, you would need to follow the steps for manually installing the schemas.
For an 11g database, please see the documentation link below:
http://docs.oracle.com/cd/E11882_01/server.112/e10831/installation.htm#COMSC001
For a 12c database, creating the sample schemas is described below:
http://docs.oracle.com/database/121/COMSC/installation.htm#COMSC001
Out of these schemas, SH is not available in the Oracle Database Personal/Standard edition, but can be installed in the Enterprise Edition. Also, it requires the Partitioning option to be installed.


