
Location_id NUMBER GENERATED BY DEFAULT AS IDENTITY START WITH 24Ĭountry_id CHAR( 2 ), - fk CONSTRAINT fk_locations_countries Region_id NUMBER, - fk CONSTRAINT fk_countries_regions FOREIGN KEY( region_id ) Region_id NUMBER GENERATED BY DEFAULT AS IDENTITY START WITH 5 PRIMARY KEY,

The following illustrates the statements for creating the database objects.

Each customer has at least one contact person with detailed information including name, email, and phone.

The company records all customer information including name, address, and website. Because the company operates globally, it has warehouses in various locations around the world. It also tracks the inventory information for all products including warehouses where products are available.

The company maintains the product information such as name, description standard cost, list price, and product line. We provide you with an Oracle sample database named OT which is based on a global fictitious company that sells computer hardware including storage, motherboard, RAM, video card, and CPU. Introduction to the OT Oracle sample database To create this database for practicing, you follow the creating the Oracle Sample Database tutorial. It doesn’t show you how to create this sample database in Oracle. Note that this tutorial explains you the Oracle Sample Database. Summary: this tutorial introduces you to an Oracle sample database and provides you with the links for you to download it.
