Chapter 2 Database Concepts and MySQL Overview
Chapter 2 Database Concepts and MySQL Overview
CHAPTER 2:
DATABASE CONCEPTS
AND MYSQL OVERVIEW
Information Management
(3/1)
OBJECTIVES:
• Define database, DBMS, and RDBMS.
• Explain the advantages of using databases over file-based storage.
• Introduce MySQL, its features, and common use cases.
• Discuss relational database concepts such as tables, rows, and columns.
Example
The Stores entity may have relationships with
multiple child entities.
The Transactions entity may have relationships
with multiple parent entities.
TYPE OF DATABASE MANAGEMENT SYSTEM
2.Relational Databases
Relational Databases store data in the form
of access control tables, where each row is
identified by a key field. Data is organized
into structured tables, linked using primary
keys and foreign keys to ensure consistency
and eliminate redundancy.
Key Features of
MySQL:
• Free and Open-Source – Available • Security– Supports user
for public use authentication and encryption
Creating a Database
UNDERSTANDING RELATIONAL
DATABASE CONCEPTS
Example: Employee_Records database
Primary Key
A Primary Key is a unique identifier for each record (e.g.,
Employee_ID)
UNDERSTANDING RELATIONAL
DATABASE CONCEPTS
Foreign Key
Connects data between
tables
Example: Linking
Employees to Departments
UNDERSTANDING RELATIONAL
DATABASE CONCEPTS
One-to-Many Relationship:
One department can have many employees
Database Design:
Visualization of related tables
This SQL Figure designer
creates two related tables:
Departments and
Employees. It establishes a
one-to-many relationship
where each department can
have multiple employees.
THANK YOU