17
PLUG IT IN 3 Fundamentals of Relational Database Operations

PLUG IT IN 3 Fundamentals of Relational Database Operations

Embed Size (px)

Citation preview

Page 1: PLUG IT IN 3 Fundamentals of Relational Database Operations

PLUG IT IN 3Fundamentals of Relational Database Operations

Page 2: PLUG IT IN 3 Fundamentals of Relational Database Operations

1. Query Languages2. Entity–Relationship Modeling3. Normalization and Joins

Page 3: PLUG IT IN 3 Fundamentals of Relational Database Operations

>>>1. Understand the process of querying a

relational database.

2. Understand the process of entity–relationship modeling.

3. Understand the process of normalization and the process of joins.

Page 4: PLUG IT IN 3 Fundamentals of Relational Database Operations

Query LanguagesPI3.1• Primary Key• Secondary Key• Foreign Key• Structured Query Language (SQL)• Query By Example (QBE)

Page 5: PLUG IT IN 3 Fundamentals of Relational Database Operations

Entity-Relationship Modeling

PI3.2• Entity Relationship Modeling• Entity Relationship Diagram (ERD)• Business Rules• Data Dictionary• Relationships (Unary, Binary,

Ternary)

Page 6: PLUG IT IN 3 Fundamentals of Relational Database Operations

Entity-Relationship Modeling (Continued)

PI3.2• Connectivity• Cardinality• Attributes

Page 7: PLUG IT IN 3 Fundamentals of Relational Database Operations

Cardinality Symbols

Page 8: PLUG IT IN 3 Fundamentals of Relational Database Operations

One-to-One Relationship

Page 9: PLUG IT IN 3 Fundamentals of Relational Database Operations

One-to-Many Relationship

Page 10: PLUG IT IN 3 Fundamentals of Relational Database Operations

Many-to-Many Relationship

Page 11: PLUG IT IN 3 Fundamentals of Relational Database Operations

Normalization and Joins

PI3.3• Normalization– 1st Normal Form– 2nd Normal Form– 3rd Normal Form

• Functional Dependencies• Join Operation

Page 12: PLUG IT IN 3 Fundamentals of Relational Database Operations

Raw Data Gathered from Pizza Shop Orders

Page 13: PLUG IT IN 3 Fundamentals of Relational Database Operations

Functional Dependency from Pizza Shop

Page 14: PLUG IT IN 3 Fundamentals of Relational Database Operations

1st Normal Form for Pizza Shop Database

Page 15: PLUG IT IN 3 Fundamentals of Relational Database Operations

2nd Normal Form for Pizza Shop Database

Page 16: PLUG IT IN 3 Fundamentals of Relational Database Operations

3rd Normal Form for Pizza Shop Database

Page 17: PLUG IT IN 3 Fundamentals of Relational Database Operations

Join Process with Tables of 3rd Normal Form for Pizza Orders