Unit 1 - Introduction to Oracle Database
Unit 1 - Introduction to Oracle Database
Oracle Database
Agenda
Oracle Database
Why Oracle ?
Oracle Database
List the features of Oracle Database 12c
Oracle Database
List the features of Oracle Database 12c
Oracle Database
List the features of Oracle Database 12c
• High availability: By using the high availability features, you can
reduce the risk of down time and data loss
Oracle Database
Agenda
Oracle Database
The Oracle server capabilities
• Relational model and object relational model - supports both
the relational and the object relational database models
Oracle Database
Data Storage on Different Media
Oracle Database
Relational Database
Oracle Database
Relational Database
Oracle Database
From “real world” to “tables on disk”
Oracle Database
Database Models
• Models help to communicate the concepts that are in people’s
minds. They can be used to:
• Communicate
• Categorize
• Describe
• Specify
• Investigate
• Evolve
• Analyze
• Imitate
Oracle Database
The Entity - Relationship Model
• An entity relationship (ER) model is an illustration of the various
entities in a business and the relationships among them. An ER
model is derived from business specifications or narratives
• The ER model are built during the analysis phase of the system
development life cycle
Oracle Database
The Entity - Relationship Model
Benefits of ER Modeling
• Documents information for the organization in a clear, precise
format
• Provides a clear picture of the scope of the information
requirement
• Provides an easily understood pictorial map for database design
• Offers an effective framework for integrating multiple applications
Key Components
• Entity: which information must be known
• Attribute: describes or qualifies an entity; each of the attributes is
either required or optional
• Relationship: association between entities showing optionality
and degree
Oracle Database
The Integrity Constraints
• Each row of data in a table can be uniquely identified by a primary
key
• You can logically relate data from multiple tables using foreign
keys
Oracle Database
The Integrity Constraints
Guidelines for Primary Keys and Foreign Keys
• Foreign keys are based on data values and are purely logical (not
physical) pointers
Oracle Database
Relational Database Terminology
• A single row (or tuple) representing all the data required for a
particular registration. Each row in a table should be identified by a
primary key
Oracle Database
Agenda
Oracle Database
Using SQL to Query Your Database
Structured query language (SQL) is:
• Querying data
• Inserting, updating, and deleting rows in a table
• Creating, replacing, altering, and dropping objects
• Controlling access to the database and its objects
• Guaranteeing database consistency and integrity
Oracle Database
SQL Statements
Structured query language (SQL) is:
Oracle Database
SQL Statements
• Data manipulation language (DML): Retrieves data from the
database, enters new rows, changes existing rows, and removes
unwanted rows from tables in the database
Oracle Database
Agenda
Oracle Database
Human Resources (HR) Schema
Oracle Database
Human Resources (HR) Schema
The HR schema is a part of the Oracle Sample Schemas that can be
installed in an Oracle Database. This course use data from it.
Table Descriptions
Oracle Database
Agenda
Oracle Database
SQL Developer environment
Oracle Database
Specifications of SQL Developer
• Is developed in Java
Oracle Database
SQL Developer Interface
Oracle Database
Creating a Database Connection
Oracle Database
Creating a Database Connection
Oracle Database
Summary
• With the Oracle server, you can store and manage information by
using SQL
Oracle Database
Practice 1
Oracle Database